[OpenLayers-Commits] r11641 -
trunk/openlayers/lib/OpenLayers/Strategy
commits-20090109 at openlayers.org
commits-20090109 at openlayers.org
Mon Mar 7 04:26:25 EST 2011
Author: fredj
Date: 2011-03-07 01:26:23 -0800 (Mon, 07 Mar 2011)
New Revision: 11641
Modified:
trunk/openlayers/lib/OpenLayers/Strategy/BBOX.js
trunk/openlayers/lib/OpenLayers/Strategy/Cluster.js
trunk/openlayers/lib/OpenLayers/Strategy/Filter.js
trunk/openlayers/lib/OpenLayers/Strategy/Fixed.js
trunk/openlayers/lib/OpenLayers/Strategy/Paging.js
trunk/openlayers/lib/OpenLayers/Strategy/Refresh.js
Log:
remove 'empty' initialize method (method that only call the parent class). r=bartvde (closes #3149)
Modified: trunk/openlayers/lib/OpenLayers/Strategy/BBOX.js
===================================================================
--- trunk/openlayers/lib/OpenLayers/Strategy/BBOX.js 2011-03-07 09:25:17 UTC (rev 11640)
+++ trunk/openlayers/lib/OpenLayers/Strategy/BBOX.js 2011-03-07 09:26:23 UTC (rev 11641)
@@ -61,18 +61,6 @@
response: null,
/**
- * Constructor: OpenLayers.Strategy.BBOX
- * Create a new BBOX strategy.
- *
- * Parameters:
- * options - {Object} Optional object whose properties will be set on the
- * instance.
- */
- initialize: function(options) {
- OpenLayers.Strategy.prototype.initialize.apply(this, [options]);
- },
-
- /**
* Method: activate
* Set up strategy with regard to reading new batches of remote data.
*
Modified: trunk/openlayers/lib/OpenLayers/Strategy/Cluster.js
===================================================================
--- trunk/openlayers/lib/OpenLayers/Strategy/Cluster.js 2011-03-07 09:25:17 UTC (rev 11640)
+++ trunk/openlayers/lib/OpenLayers/Strategy/Cluster.js 2011-03-07 09:26:23 UTC (rev 11641)
@@ -59,18 +59,6 @@
resolution: null,
/**
- * Constructor: OpenLayers.Strategy.Cluster
- * Create a new clustering strategy.
- *
- * Parameters:
- * options - {Object} Optional object whose properties will be set on the
- * instance.
- */
- initialize: function(options) {
- OpenLayers.Strategy.prototype.initialize.apply(this, [options]);
- },
-
- /**
* APIMethod: activate
* Activate the strategy. Register any listeners, do appropriate setup.
*
Modified: trunk/openlayers/lib/OpenLayers/Strategy/Filter.js
===================================================================
--- trunk/openlayers/lib/OpenLayers/Strategy/Filter.js 2011-03-07 09:25:17 UTC (rev 11640)
+++ trunk/openlayers/lib/OpenLayers/Strategy/Filter.js 2011-03-07 09:26:23 UTC (rev 11641)
@@ -40,18 +40,6 @@
caching: false,
/**
- * Constructor: OpenLayers.Strategy.Filter
- * Create a new filter strategy.
- *
- * Parameters:
- * options - {Object} Optional object whose properties will be set on the
- * instance.
- */
- initialize: function(options) {
- OpenLayers.Strategy.prototype.initialize.apply(this, [options]);
- },
-
- /**
* APIMethod: activate
* Activate the strategy. Register any listeners, do appropriate setup.
* By default, this strategy automatically activates itself when a layer
Modified: trunk/openlayers/lib/OpenLayers/Strategy/Fixed.js
===================================================================
--- trunk/openlayers/lib/OpenLayers/Strategy/Fixed.js 2011-03-07 09:25:17 UTC (rev 11640)
+++ trunk/openlayers/lib/OpenLayers/Strategy/Fixed.js 2011-03-07 09:26:23 UTC (rev 11641)
@@ -25,26 +25,6 @@
preload: false,
/**
- * Constructor: OpenLayers.Strategy.Fixed
- * Create a new Fixed strategy.
- *
- * Parameters:
- * options - {Object} Optional object whose properties will be set on the
- * instance.
- */
- initialize: function(options) {
- OpenLayers.Strategy.prototype.initialize.apply(this, [options]);
- },
-
- /**
- * APIMethod: destroy
- * Clean up the strategy.
- */
- destroy: function() {
- OpenLayers.Strategy.prototype.destroy.apply(this, arguments);
- },
-
- /**
* Method: activate
* Activate the strategy: load data or add listener to load when visible
*
Modified: trunk/openlayers/lib/OpenLayers/Strategy/Paging.js
===================================================================
--- trunk/openlayers/lib/OpenLayers/Strategy/Paging.js 2011-03-07 09:25:17 UTC (rev 11640)
+++ trunk/openlayers/lib/OpenLayers/Strategy/Paging.js 2011-03-07 09:26:23 UTC (rev 11641)
@@ -41,18 +41,6 @@
paging: false,
/**
- * Constructor: OpenLayers.Strategy.Paging
- * Create a new paging strategy.
- *
- * Parameters:
- * options - {Object} Optional object whose properties will be set on the
- * instance.
- */
- initialize: function(options) {
- OpenLayers.Strategy.prototype.initialize.apply(this, [options]);
- },
-
- /**
* APIMethod: activate
* Activate the strategy. Register any listeners, do appropriate setup.
*
Modified: trunk/openlayers/lib/OpenLayers/Strategy/Refresh.js
===================================================================
--- trunk/openlayers/lib/OpenLayers/Strategy/Refresh.js 2011-03-07 09:25:17 UTC (rev 11640)
+++ trunk/openlayers/lib/OpenLayers/Strategy/Refresh.js 2011-03-07 09:26:23 UTC (rev 11641)
@@ -38,18 +38,6 @@
timer: null,
/**
- * Constructor: OpenLayers.Strategy.Refresh
- * Create a new Refresh strategy.
- *
- * Parameters:
- * options - {Object} Optional object whose properties will be set on the
- * instance.
- */
- initialize: function(options) {
- OpenLayers.Strategy.prototype.initialize.apply(this, [options]);
- },
-
- /**
* APIMethod: activate
* Activate the strategy. Register any listeners, do appropriate setup.
*
More information about the Commits
mailing list