Create node server to replace 'make watch'

Reviewers: xymostech

Reviewed By: xymostech

Differential Revision: http://phabricator.benalpert.com/D38
This commit is contained in:
Ben Alpert
2013-07-05 22:55:10 -07:00
parent afb29f5df3
commit 4bc599966f
9 changed files with 70 additions and 6 deletions

10
static/main.js Normal file
View File

@@ -0,0 +1,10 @@
window.onload = function() {
var input = document.getElementById("input");
var math = document.getElementById("math");
MJLite.process(input.value, math);
input.oninput = function() {
MJLite.process(input.value, math);
};
};