#2224 closed enhancement (fixed)
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".
Note: See
TracTickets for help on using
tickets.
Fixed in [4601].