added who() function to OpenLayers.Size

git-svn-id: http://svn.openlayers.org/trunk/openlayers@47 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
euzuro
2006-05-16 18:21:59 +00:00
parent aca2bc30b4
commit 57752d9cd4

View File

@@ -112,8 +112,12 @@ OpenLayers.Pixel.prototype = {
*/ */
addY:function(h) { addY:function(h) {
return new OpenLayers.Pixel(this.x, this.y+h); return new OpenLayers.Pixel(this.x, this.y+h);
} },
////////////////////
who:function(){return "OpenLayers.Pixel";}
}; };
OpenLayers.Size = Class.create(); OpenLayers.Size = Class.create();
OpenLayers.Size.prototype = { OpenLayers.Size.prototype = {
initialize: function(w,h) { initialize: function(w,h) {