Documentation errors:
a) there is: sjs --module /mithril.compile.sjs --output .js .js
it should to be: template-compiler.sjs
b) Why is this file on another repository only?
Documentation enhancement, suggestion:
I think there should to be more about manual compiling - I like it.
It's realy nice to write {tag: 'body',attrs: {}, children: []} and to saw how the performance is growing.
Compiling errors:
INPUT.js:
var todo = {};
todo.view = function() {return m("html", m("body", [m("input"), m("button", "Add")]));};
INPUT.js: var todo = {}; todo.view = function() {return m("html", m("body", [m("input"), m("button", "Add")]));};
OUTPUT.js: var todo$705 = {}; todo$705.view = function () { return Mithril('html', { tag: 'body', attrs: {}, children: partial$631 }); };wiesiek@nb:~/m$
ERRORS: a) Mithril b) partial$631 c) it is not in this example, but it change only part of names like todo