Add new tests for Icon cloning. Modify Icon.js to correct incorrect case in constructor call in clone().
git-svn-id: http://svn.openlayers.org/trunk/openlayers@109 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -14,6 +14,6 @@ OpenLayers.Icon.prototype = {
|
||||
|
||||
// Create a copy of this icon.
|
||||
clone: function() {
|
||||
return new OpenLayers.icon(this.size, this.url);
|
||||
return new OpenLayers.Icon(this.size, this.url);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user