Changeset 8024
- Timestamp:
- 09/17/08 08:53:12 (3 months ago)
- Files:
-
- trunk/openlayers/lib/OpenLayers/BaseTypes.js (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/openlayers/lib/OpenLayers/BaseTypes.js
r7627 r8024 341 341 Number.prototype.limitSigDigs = function(sig) { 342 342 OpenLayers.Console.warn(OpenLayers.i18n("methodDeprecated", 343 {'newMethod':'OpenLayers. String.limitSigDigs'}));343 {'newMethod':'OpenLayers.Number.limitSigDigs'})); 344 344 return OpenLayers.Number.limitSigDigs(this, sig); 345 345 }; … … 410 410 Function.prototype.bind = function() { 411 411 OpenLayers.Console.warn(OpenLayers.i18n("methodDeprecated", 412 {'newMethod':'OpenLayers. String.bind'}));412 {'newMethod':'OpenLayers.Function.bind'})); 413 413 // new function takes the same arguments with this function up front 414 414 Array.prototype.unshift.apply(arguments, [this]); … … 431 431 Function.prototype.bindAsEventListener = function(object) { 432 432 OpenLayers.Console.warn(OpenLayers.i18n("methodDeprecated", 433 {'newMethod':'OpenLayers. String.bindAsEventListener'}));433 {'newMethod':'OpenLayers.Function.bindAsEventListener'})); 434 434 return OpenLayers.Function.bindAsEventListener(this, object); 435 435 };
