Bug Tracker

Modify

Ticket #11908 (closed bug: invalid)

Opened 12 months ago

Last modified 12 months ago

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:
Blocking: Blocked by:

Description

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

comment:1 Changed 12 months ago by dmethvin

  • Status changed from new to closed
  • Resolution set to invalid

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.

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.