From 57752d9cd48a646f192287a306ea0ab5239803b1 Mon Sep 17 00:00:00 2001 From: euzuro Date: Tue, 16 May 2006 18:21:59 +0000 Subject: [PATCH] added who() function to OpenLayers.Size git-svn-id: http://svn.openlayers.org/trunk/openlayers@47 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- lib/OpenLayers/Util.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/OpenLayers/Util.js b/lib/OpenLayers/Util.js index 4d7fd93865..d7bb819d99 100644 --- a/lib/OpenLayers/Util.js +++ b/lib/OpenLayers/Util.js @@ -112,8 +112,12 @@ OpenLayers.Pixel.prototype = { */ addY:function(h) { return new OpenLayers.Pixel(this.x, this.y+h); - } + }, + + //////////////////// + who:function(){return "OpenLayers.Pixel";} }; + OpenLayers.Size = Class.create(); OpenLayers.Size.prototype = { initialize: function(w,h) {