-
-
Save lasconic/0d8c8edd1ce0cc05e2b6e12fa7e102f8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<title></title> | |
<script> | |
function foo() { | |
console.log("MDL INSTALLED ? " + mscore.isInstalledExtension("mdl")); | |
console.log("MDLf INSTALLED ? " + mscore.isInstalledExtension("mdlf")); | |
var div = document.getElementById('content'); | |
div.innerHTML = "MDL INSTALLED ? " + mscore.isInstalledExtension("mdl") + "<br/>" | |
div.innerHTML += "MDLf INSTALLED ? " + mscore.isInstalledExtension("mdlf") + "<br/>" | |
div.innerHTML += "mscore version " + mscore.version() + "<br/>" | |
} | |
</script> | |
</head> | |
<body onload="foo()"> | |
<div id="content"> | |
text | |
</div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment