3 ms·
Sizzle is one of the engines we are checking out. Is HTML.js better? No idea. Worse? Same answer. HTML.js is still smaller (a huge factor for me right now) and
by adeaver 13y ago
Sizzle is one of the engines we are checking out. Is HTML.js better? No idea. Worse? Same answer.
HTML.js is still smaller (a huge factor for me right now) and less 'robust', but that isn't always a bad thing.
- emn13 13y agoBy the looks of it, HTML.js is worse than plain DOM. Try `HTML.body.div.section.ul` in the example on its homepage, for instance - I'm willing to bet that's not doing what you'd expect.
- adeaver 13y agoIt 'selects' all the section nodes. That's what .only() is for.
- nadabu 13y agoI'm hoping it returns undefined. Dot-traversal on a list goes into the first item, the first item should be empty. I have had some issues with the demo, since it hacks some things for presentation's sake. What did you expect?