[OpenLayers-Commits] r12050 -
trunk/openlayers/lib/OpenLayers/Renderer
commits-20090109 at openlayers.org
commits-20090109 at openlayers.org
Mon Jun 6 07:02:11 EDT 2011
Author: fredj
Date: 2011-06-06 04:02:11 -0700 (Mon, 06 Jun 2011)
New Revision: 12050
Modified:
trunk/openlayers/lib/OpenLayers/Renderer/NG.js
trunk/openlayers/lib/OpenLayers/Renderer/SVG.js
trunk/openlayers/lib/OpenLayers/Renderer/SVG2.js
trunk/openlayers/lib/OpenLayers/Renderer/VML.js
Log:
remove unneeded destroy and initialize function. r=ahocevar (pullup #3341)
Modified: trunk/openlayers/lib/OpenLayers/Renderer/NG.js
===================================================================
--- trunk/openlayers/lib/OpenLayers/Renderer/NG.js 2011-06-06 08:07:57 UTC (rev 12049)
+++ trunk/openlayers/lib/OpenLayers/Renderer/NG.js 2011-06-06 11:02:11 UTC (rev 12050)
@@ -32,18 +32,8 @@
* * zIndexing - {Boolean} Whether to use z-indexing. Will be ignored
* if yOrdering is set to true.
*/
- initialize: function(containerID, options) {
- OpenLayers.Renderer.Elements.prototype.initialize.apply(this, arguments);
- },
/**
- * Method: destroy
- */
- destroy: function() {
- OpenLayers.Renderer.Elements.prototype.destroy.apply(this, arguments);
- },
-
- /**
* Method: updateDimensions
* To be extended by subclasses - here we set positioning related styles
* on HTML elements, subclasses have to do the same for renderer specific
Modified: trunk/openlayers/lib/OpenLayers/Renderer/SVG.js
===================================================================
--- trunk/openlayers/lib/OpenLayers/Renderer/SVG.js 2011-06-06 08:07:57 UTC (rev 12049)
+++ trunk/openlayers/lib/OpenLayers/Renderer/SVG.js 2011-06-06 11:02:11 UTC (rev 12050)
@@ -67,13 +67,6 @@
},
/**
- * APIMethod: destroy
- */
- destroy: function() {
- OpenLayers.Renderer.Elements.prototype.destroy.apply(this, arguments);
- },
-
- /**
* APIMethod: supported
*
* Returns:
Modified: trunk/openlayers/lib/OpenLayers/Renderer/SVG2.js
===================================================================
--- trunk/openlayers/lib/OpenLayers/Renderer/SVG2.js 2011-06-06 08:07:57 UTC (rev 12049)
+++ trunk/openlayers/lib/OpenLayers/Renderer/SVG2.js 2011-06-06 11:02:11 UTC (rev 12050)
@@ -58,13 +58,6 @@
},
/**
- * APIMethod: destroy
- */
- destroy: function() {
- OpenLayers.Renderer.Elements.prototype.destroy.apply(this, arguments);
- },
-
- /**
* APIMethod: supported
*
* Returns:
Modified: trunk/openlayers/lib/OpenLayers/Renderer/VML.js
===================================================================
--- trunk/openlayers/lib/OpenLayers/Renderer/VML.js 2011-06-06 08:07:57 UTC (rev 12049)
+++ trunk/openlayers/lib/OpenLayers/Renderer/VML.js 2011-06-06 11:02:11 UTC (rev 12050)
@@ -67,14 +67,6 @@
},
/**
- * APIMethod: destroy
- * Deconstruct the renderer.
- */
- destroy: function() {
- OpenLayers.Renderer.Elements.prototype.destroy.apply(this, arguments);
- },
-
- /**
* APIMethod: supported
* Determine whether a browser supports this renderer.
*
More information about the Commits
mailing list