These are chat archives for mithriljs/mithril.js
forloop and it crashed, and no browser will allow her to extract her code.
number = stream(0) number(number() + 1)
number.update(n => n +1 );
number = number.map(n => n +1)
ofin the signature table
m.requestwill automatically redraw the component (which could just be a
viewthat returns what you previously passed to
SyntaxErrorand terminates should be saved, even if it throws. (This is useful for testing Mithril bugs, BTW.)
onerrorfires. That would also give you better knowledge and control over script execution, and you could make a better judgement call on whether to save. You could also use
postMessageto know when user scripts themselves finishes executing.