Created
November 25, 2015 14:10
-
-
Save tmtk75/326da8780971cd81b57d to your computer and use it in GitHub Desktop.
JUMLY.eval example
This file contains hidden or 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 lang="en"> | |
<head> | |
<title></title> | |
<script src='http://code.jquery.com/jquery-2.1.4.min.js'></script> | |
<script src='http://coffeescript.org/extras/coffee-script.js'></script> | |
<script src='http://jumly.tmtk.net/public/jumly.min.js'></script> | |
</head> | |
<body> | |
<pre id='code'>@found "I", -> @message "speak to", "You"</pre> | |
<div id='out'></div> | |
<script type="text/javascript"> | |
setTimeout(function() { | |
JUMLY.eval($("#code"), {into:$("#out")}); | |
}, 1000); | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment