Hacker News new | past | comments | ask | show | jobs | submit login

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.



I 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.


Oh, 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.


Really no .live()? That would be a deal breaker for most of my projects


As of jQuery 1.7, the .live() method is deprecated.

http://api.jquery.com/live/


.live() is lazy. You can always use the parent to delegate.


Backbone and Spine depend on delegate




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: