3 ms·
You're not using actual HTML, you're wrapping dom elements in your own special functions. You've made a templating langauge, like it or not.
by ulisesrmzroche 13y ago
You're not using actual HTML, you're wrapping dom elements in your own special functions. You've made a templating langauge, like it or not.
- Tloewald 13y agoAm I using code to do binding? Yes. Do we bind to HTML or something that -- after being parsed -- turns into HTML? HTML. The advantages are significant. First -- you have to know HTML. Second -- all the code that works on HTML works on HTML. We use data attributes to make the binding work. The data attributes are a "template language" if you will, but it's not breaking HTML (and if you read our attributes they make sense without much documentation).
- ulisesrmzroche 13y agoNo, if you're compiling at some point into HTML, then by definition, you're not writing HTML. HTML doesn't have functions in its spec (function m()) That's breaking HTML right there.