3 ms·
It's used out of convenience, and avoiding errors. jQuery selectors are stupidly simple to do complex stuff with. I just wish they had a jQuery.selector distrib
by overcast 11y ago
It's used out of convenience, and avoiding errors. jQuery selectors are stupidly simple to do complex stuff with. I just wish they had a jQuery.selector distribution.
- jeresig 11y agoIt does! https://github.com/jquery/sizzle/blob/master/dist/sizzle.js https://github.com/jquery/sizzle/blob/master/dist/sizzle.js
- overcast 11y agoI looked at sizzle, but is it just me, or is the syntax not anywhere near as convenient as jQuery? Doesn't seem like it's making anything easier.