replace all usage of copyOf() with clone(). Now copyOf() is officially deprecated and unused. supported only if users out there have used it, but we can phase it out in the next official release.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@961 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -43,7 +43,7 @@ OpenLayers.Layer.WFS.prototype =
|
||||
OpenLayers.Layer.Markers.prototype.initialize.apply(this, newArguments);
|
||||
|
||||
if (options && options['tileSize']) {
|
||||
this.tileSize = options['tileSize'].copyOf();
|
||||
this.tileSize = options['tileSize'].clone();
|
||||
} else {
|
||||
this.tileSize = new OpenLayers.Size(256, 256);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user