Skip to main content

Bug Tracker

Side navigation

#11908 closed bug (invalid)

Opened June 14, 2012 08:51AM UTC

Closed June 14, 2012 12:05PM UTC

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 || elem, namespaces ) === false ) {

namespaces is RegExp here

Attachments (0)
Change History (1)

Changed June 14, 2012 12:05PM UTC by dmethvin comment:1

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.