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:
crschmidt
2006-05-17 17:32:03 +00:00
parent 04ca5d3695
commit 4eec3dae7a
2 changed files with 11 additions and 1 deletions

View File

@@ -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);
}
}