Side navigation
#8777 closed bug (fixed)
Opened April 05, 2011 08:45PM UTC
Closed April 11, 2011 04:14PM UTC
Last modified March 13, 2012 02:45PM UTC
jQuery 1.6: undelegate() accepts custom namespaced events
Reported by: | rwaldron | Owned by: | rwaldron |
---|---|---|---|
Priority: | blocker | Milestone: | 1.6 |
Component: | event | Version: | 1.5.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Copied directly from jQuery 1.6 Roadmap:
I noticed that undelegate doesn't seem to work with a custom namespaced event.
If you undelegate('selector', '.namespace') it doesn't work, but if you unbind('.namespace') that same thing, it does.
Here's a fiddle that explains what I expected
http://jsfiddle.net/matthewlein/7LRmR/
seems like something useful for plugins or widgets that want to delegate.
Attachments (0)
Change History (3)
Changed April 05, 2011 08:46PM UTC by comment:1
component: | unfiled → event |
---|---|
milestone: | 1.next → 1.6 |
owner: | → rwaldron |
priority: | undecided → blocker |
status: | new → assigned |
Changed April 05, 2011 10:16PM UTC by comment:2
First pass at what might be the gnarliest thing ever... https://github.com/rwldrn/jquery/tree/8777
Changed April 11, 2011 04:14PM UTC by comment:3
resolution: | → fixed |
---|---|
status: | assigned → closed |
Landed.
http://jsfiddle.net/rwaldron/NjCWS/