Ticket #2167 (closed feature: fixed)
use indexOf native function when available
| Reported by: | arno | Owned by: | |
|---|---|---|---|
| Priority: | minor | Milestone: | 2.9 Release |
| Component: | general | Version: | 2.8 |
| Keywords: | Cc: | ||
| State: | Complete |
Description
Hi, as internet explorer does not support indexOf method for arrays, openlayers implement a custom function OpenLayers.Util.indexOf. But executing this javascript function in probably slower than native methods on browser implementing indexOf natively.
So, what about checking if indexOf is defined and executing it's defined ?
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

