Bug Tracker

Modify

Ticket #4968 (closed enhancement: invalid)

Opened 4 years ago

Last modified 3 years ago

check for missing indexOf

Reported by: jnorell Owned by:
Priority: minor Milestone: 1.4
Component: core Version: 1.3.2
Keywords: javascript compatibility indexOf Galio Cc:
Blocking: Blocked by:

Description

Not all browsers support indexOf(), please add the workaround at  https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Array/indexOf#Compatibility (I'm not sure where it should fit into jquery, but I've loaded that prior to loading jquery and it seems to address the abscense of indexOf() in Ant Galio browser).

Change History

comment:1 Changed 4 years ago by dmethvin

  • Component changed from support to core

comment:2 Changed 3 years ago by rwaldron

Requests to extend native objects/prototypes will be denied in favor of extending jQuery with the functionality if the need is great. Can you provide a patch or test implementation?

comment:3 Changed 3 years ago by rwaldron

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

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.