Skip to content

Instantly share code, notes, and snippets.

@cuduy197
Created April 5, 2017 05:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cuduy197/0bc4c7c6e039c9efc8c246069b253e7d to your computer and use it in GitHub Desktop.
Save cuduy197/0bc4c7c6e039c9efc8c246069b253e7d to your computer and use it in GitHub Desktop.
MoJS
<!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