Side navigation
#2224 closed enhancement (fixed)
Opened January 23, 2008 04:46PM UTC
Closed February 04, 2008 03:12PM UTC
Last modified February 05, 2008 09:43PM UTC
Support unbind(".namespace")
Reported by: | joern | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 1.2.3 |
Component: | event | Version: | 1.2.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Plugin code for unbinding plugins could be simplified a lot by supporting a this syntax:
$(...).unbind(".namespace")
That way a plugin author can avoid to reiterate all event names when he already namespaced them all anyway.
Currently the check for events[type] in event.js on line 129 prevents removal of "namespace-only events".
Fixed in [4601].