replace 'who()' function with CLASS_NAME member constant. As per email discussion

git-svn-id: http://svn.openlayers.org/trunk/openlayers@52 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
euzuro
2006-05-16 18:35:15 +00:00
parent bd16aa9cdf
commit a70c7c9f86
2 changed files with 3 additions and 6 deletions

View File

@@ -91,8 +91,7 @@ OpenLayers.Pixel.prototype = {
return new OpenLayers.Pixel(this.x + x, this.y + y);
},
////////////////////
who:function(){return "OpenLayers.Pixel";}
CLASS_NAME: "OpenLayers.Pixel"
};
OpenLayers.Size = Class.create();