From a8bf08cca3e6749409a0099c831152936dde43ba Mon Sep 17 00:00:00 2001 From: euzuro Date: Tue, 16 May 2006 17:48:04 +0000 Subject: [PATCH] coding standards proposal using logger to document unimplemented functions in subclasses git-svn-id: http://svn.openlayers.org/trunk/openlayers@41 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- lib/OpenLayers/Tile.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/OpenLayers/Tile.js b/lib/OpenLayers/Tile.js index 6d9e2c19e5..0094678951 100644 --- a/lib/OpenLayers/Tile.js +++ b/lib/OpenLayers/Tile.js @@ -37,6 +37,12 @@ OpenLayers.Tile.prototype = { /** */ draw:function() { + + // HACK HACK - should we make it a standard to put this sort of warning + // message in functions that are supposed to be overridden? + // + // ol.Log.warn(this.getName() + ": draw() not implemented"); + }, /** remove this tile from the ds