4 ms·
From the readme, I see two major show-stoppers for me; no .delegate() - or even .live(), and no support for the 'change' event... and I can't tell if selectors
by kellishaver 15y ago
From the readme, I see two major show-stoppers for me; no .delegate() - or even .live(), and no support for the 'change' event... and I can't tell if selectors support filters like :first, :last, :checked, etc.
- southpolesteve 15y agoReally no .live()? That would be a deal breaker for most of my projects
- joshmattvander 15y ago.live() is lazy. You can always use the parent to delegate.
- est 15y agoAs of jQuery 1.7, the .live() method is deprecated. http://api.jquery.com/live/ http://api.jquery.com/live/
- mythz 15y agoI think it's worth adding .delegate() to core, .live() no. I'll dive in to see how much code is required to come along with it. Also note the list to what's in core is not permanent, and can be changed by popular demand :) I still think a large part of jQuery is bloat that is rarely used.
- kellishaver 15y agoOh, I agree. It would be better to have .delegate() than .live(). I'm not bothered by the lack of .live()'s presence. I just meant that .delegate() didn't exist, and .live() wasn't there in lieu of it.
- nikcub 15y agoBackbone and Spine depend on delegate