[OpenLayers-Trac] [OpenLayers] #963: remove String.indexOf from BaseTypes
OpenLayers
trac at openlayers.org
Tue Sep 11 10:16:38 EDT 2007
#963: remove String.indexOf from BaseTypes
---------------------+------------------------------------------------------
Reporter: fredj | Owner:
Type: bug | Status: new
Priority: minor | Milestone:
Component: general | Version: SVN
Keywords: review |
---------------------+------------------------------------------------------
The String.indexOf function is defined in BaseTypes.js and should be
removed:
* Standard ECMA-262 already define this function
* There is a typo in the function declaration: it should be
String.prototype.indexOf instead of String.indexOf: that means the
function was never been called ...
All tests pass on FF, IE and opera
--
Ticket URL: <http://trac.openlayers.org/ticket/963>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer
More information about the Trac
mailing list