Bug Tracker

Opened 11 years ago

Closed 11 years ago

#11908 closed bug (invalid)

special.teardown() method namespaces argument is not an array

Reported by: anonymous Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.7.2
Keywords: Cc:
Blocked by: Blocking:


special.teardown() method should have namespaces argument of type array, but this argument is RegExp object right now.

line 3075: if ( !special.teardown
special.teardown.call( elem, namespaces ) === false ) {

namespaces is RegExp here

Change History (1)

comment:1 Changed 11 years ago by dmethvin

Resolution: invalid
Status: newclosed

We never documented that, and it's not useful anyway because the namespaces information is attributed to the jQuery event being added/removed and not the single shared internal event dispatcher that is being torn down. In short, don't look at that argument.

Note: See TracTickets for help on using tickets.