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:
@@ -41,7 +41,7 @@ OpenLayers.Tile.prototype = {
|
|||||||
// HACK HACK - should we make it a standard to put this sort of warning
|
// HACK HACK - should we make it a standard to put this sort of warning
|
||||||
// message in functions that are supposed to be overridden?
|
// message in functions that are supposed to be overridden?
|
||||||
//
|
//
|
||||||
// ol.Log.warn(this.who() + ": draw() not implemented");
|
// ol.Log.warn(this.CLASS_NAME + ": draw() not implemented");
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -50,8 +50,6 @@ OpenLayers.Tile.prototype = {
|
|||||||
remove:function() {
|
remove:function() {
|
||||||
},
|
},
|
||||||
|
|
||||||
|
CLASS_NAME: "OpenLayers.Tile"
|
||||||
////////////////////
|
|
||||||
who:function(){return "tiled.js";} // last!
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -91,8 +91,7 @@ OpenLayers.Pixel.prototype = {
|
|||||||
return new OpenLayers.Pixel(this.x + x, this.y + y);
|
return new OpenLayers.Pixel(this.x + x, this.y + y);
|
||||||
},
|
},
|
||||||
|
|
||||||
////////////////////
|
CLASS_NAME: "OpenLayers.Pixel"
|
||||||
who:function(){return "OpenLayers.Pixel";}
|
|
||||||
};
|
};
|
||||||
|
|
||||||
OpenLayers.Size = Class.create();
|
OpenLayers.Size = Class.create();
|
||||||
|
|||||||
Reference in New Issue
Block a user