Created
April 5, 2017 05:09
-
-
Save cuduy197/0bc4c7c6e039c9efc8c246069b253e7d to your computer and use it in GitHub Desktop.
MoJS
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
<!DOCTYPE html> | |
<html > | |
<head> | |
<meta charset="UTF-8"> | |
<title>burst-tutorial-codesample-1</title> | |
</head> | |
<body> | |
<script src='https://cdn.jsdelivr.net/mojs/0.265.6/mo.min.js'></script> | |
<script> | |
'use strict'; | |
var burst = new mojs.Burst(); | |
document.addEventListener('click', function (e) { | |
burst.replay(); | |
}); | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment