Initial commit.

This commit is contained in:
Ian Gulliver
2016-01-24 20:44:30 -08:00
parent de63c01110
commit 59ee7d3e05
3 changed files with 341 additions and 0 deletions

18
play.html Normal file
View File

@@ -0,0 +1,18 @@
<!DOCTYPE html>
<html>
<head>
<script src="metatron.js" charset="UTF-8"></script>
</head>
<body>
<input id="value" type="text">
<input id="submit" type="button" value="Send">
<script>
window.addEventListener('load', function() {
var gen = new metatron.Generator('test');
document.getElementById('submit').addEventListener('click', function() {
gen.play(document.getElementById('value').value);
});
});
</script>
</body>
</html>