Bug Tracker

Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#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".

Change History (2)

comment:1 Changed 12 years ago by scott.gonzal

Resolution: fixed
Status: newclosed

Fixed in [4601].

comment:2 Changed 12 years ago by joern

And [4649].

Note: See TracTickets for help on using tickets.