Created
November 20, 2015 23:25
-
-
Save mucaho/92bdb2ab00991a3e9553 to your computer and use it in GitHub Desktop.
CraftyJS using browserify CDN
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> | |
</head> | |
<body> | |
<script src="https://wzrd.in/bundle/craftyjs@latest"></script> | |
<script> | |
var Crafty = require("craftyjs"); | |
Crafty.init(); | |
Crafty.background('rgb(127,127,127)'); | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment