Bug Tracker

Modify

Ticket #11375 (closed bug: wontfix)

Opened 16 months ago

Last modified 10 months ago

references to two methods are set twice

Reported by: mattbrundage Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.7.1
Keywords: Cc:
Blocking: Blocked by:

Description

  1. toString = Object.prototype.toString appears in core and then at the beginning of Sizzle.
  1. slice = Array.prototype.slice appears in core and then again at around line 5309.

Change History

comment:1 Changed 16 months ago by rwaldron

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

jQuery source is built in modules wrapped in IIFEs... It's collateral damage

comment:2 Changed 10 months ago by mattbrundage

Actually these two items WERE fixed for 1.8.0:

toString assignment was removed from Sizzle:  http://bit.ly/N0cnZP

slice assignment was removed from traversing.js:  http://bit.ly/RgJE4w

So, thanks.

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.