Skip to content

Commit

Permalink
Update unsandbox-maker.html
Browse files Browse the repository at this point in the history
  • Loading branch information
mcnole25 authored Jan 12, 2024
1 parent 99f6a9c commit 4a8ea3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion unsandbox-maker.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ <h1>UnSandbox Block Maker</h1>
document.getElementById("code").innerHTML = "(function(Scratch) {\n'use strict';\nclass " + idName + " {\ngetInfo() {\nreturn {\nid: '" + idName + "',\nname: '" + extName + "',\nblocks: [\n{\nopcode: '" + idName + "',\nblockType: Scratch.BlockType." + blockShape + ",\ntext: '" + blockText + "',\narguments: {\nA: {\ntype: Scratch.ArgumentType.STRING\n},\nB: {\ntype: Scratch.ArgumentType.STRING\n},\nC: {\ntype: Scratch.ArgumentType.STRING\n},\nD: {\ntype: Scratch.ArgumentType.BOOLEAN\n},\nE: {\ntype: Scratch.ArgumentType.BOOLEAN\n}\n}\n}\n]\n};\n}\n" + idName + "(args) {\nreturn " + blockArg + "\n}\n}\nScratch.extensions.register(new " + idName + "());\n})(Scratch);"
}, 10)
</script>
<a class=small-text href=https://overapi.com/javascript target="_blank">Javascript cheat sheet</a>
<a class=small-text href=https://htmlcheatsheet.com/js/ target="_blank">Javascript cheat sheet</a>
<p class=small-text>Made by JC</p>
</body>
</html>

0 comments on commit 4a8ea3f

Please sign in to comment.