Sergei Dorogin
Sergei Dorogin
Why was it not merged?
This conditional compilation code (`eval("/*@cc_on @_jscript_version
@jjcollinge as I remember, no, I gave up
Let me add one more example Givien a template: ``` ``` Emitter returns: ``` "(IncrementalDOM.elementVoid("input", "idom-4", null, ""{{data-bind value="myprop"}}"", ""))" ``` After that Handlebars compiler processes and expand helpers into...
Ok. Can I ask you how do you add event handlers for html elements? Handlebars itself doesn't have a notion of event handlers, helpers can't access dom nor vdom so...
Such a callback would be called for every element right? But how can I tell from my template that for a particular button I need a click handler? I'd need...
>but if there's enough interest (not enough atm to justify the effort) I can provide a browser version at some point +100 please! ) It'd be really nice to have...
thanks. As I removed usage of `html-minifier` and `fs` in transpiler\index.js then Browerify starts working.
just removing "auto registration emmiters" in `transpiler\index.js` makes the lib to be just Handlebars - it behaves as w/o backend specified. So I had to add explicit import of idom...
Thanks for your interest. And thanks for the lib by the way. It looks like very interesting piece of software. Previously with Handlebars I loaded all template via my requireJS-plugin...