Merge pull request #72 from fredj/unneeded-initialize
Remove unneeded initialize functions, r=elemoine
This commit is contained in:
@@ -26,9 +26,6 @@ OpenLayers.Format.ArcXML.Features = OpenLayers.Class(OpenLayers.Format.XML, {
|
|||||||
* options - {Object} An optional object whose properties will be set on
|
* options - {Object} An optional object whose properties will be set on
|
||||||
* this instance.
|
* this instance.
|
||||||
*/
|
*/
|
||||||
initialize: function(options) {
|
|
||||||
OpenLayers.Format.XML.prototype.initialize.apply(this, [options]);
|
|
||||||
},
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* APIMethod: read
|
* APIMethod: read
|
||||||
|
|||||||
@@ -74,9 +74,6 @@ OpenLayers.Format.CSWGetDomain.v2_0_2 = OpenLayers.Class(OpenLayers.Format.XML,
|
|||||||
* - PropertyName
|
* - PropertyName
|
||||||
* - ParameterName
|
* - ParameterName
|
||||||
*/
|
*/
|
||||||
initialize: function(options) {
|
|
||||||
OpenLayers.Format.XML.prototype.initialize.apply(this, [options]);
|
|
||||||
},
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* APIMethod: read
|
* APIMethod: read
|
||||||
|
|||||||
@@ -86,9 +86,6 @@ OpenLayers.Format.SLD.v1 = OpenLayers.Class(OpenLayers.Format.Filter.v1_0_0, {
|
|||||||
* options - {Object} An optional object whose properties will be set on
|
* options - {Object} An optional object whose properties will be set on
|
||||||
* this instance.
|
* this instance.
|
||||||
*/
|
*/
|
||||||
initialize: function(options) {
|
|
||||||
OpenLayers.Format.Filter.v1_0_0.prototype.initialize.apply(this, [options]);
|
|
||||||
},
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Method: read
|
* Method: read
|
||||||
@@ -1105,4 +1102,4 @@ OpenLayers.Format.SLD.v1 = OpenLayers.Class(OpenLayers.Format.Filter.v1_0_0, {
|
|||||||
|
|
||||||
CLASS_NAME: "OpenLayers.Format.SLD.v1"
|
CLASS_NAME: "OpenLayers.Format.SLD.v1"
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -40,11 +40,6 @@ OpenLayers.Format.SLD.v1_0_0 = OpenLayers.Class(
|
|||||||
* options - {Object} An optional object whose properties will be set on
|
* options - {Object} An optional object whose properties will be set on
|
||||||
* this instance.
|
* this instance.
|
||||||
*/
|
*/
|
||||||
initialize: function(options) {
|
|
||||||
OpenLayers.Format.SLD.v1.prototype.initialize.apply(
|
|
||||||
this, [options]
|
|
||||||
);
|
|
||||||
},
|
|
||||||
|
|
||||||
CLASS_NAME: "OpenLayers.Format.SLD.v1_0_0"
|
CLASS_NAME: "OpenLayers.Format.SLD.v1_0_0"
|
||||||
|
|
||||||
|
|||||||
@@ -25,11 +25,6 @@ OpenLayers.Format.WFSCapabilities.v1_0_0 = OpenLayers.Class(
|
|||||||
* options - {Object} An optional object whose properties will be set on
|
* options - {Object} An optional object whose properties will be set on
|
||||||
* this instance.
|
* this instance.
|
||||||
*/
|
*/
|
||||||
initialize: function(options) {
|
|
||||||
OpenLayers.Format.WFSCapabilities.v1.prototype.initialize.apply(
|
|
||||||
this, [options]
|
|
||||||
);
|
|
||||||
},
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Method: read_cap_Service
|
* Method: read_cap_Service
|
||||||
|
|||||||
@@ -25,11 +25,6 @@ OpenLayers.Format.WFSCapabilities.v1_1_0 = OpenLayers.Class(
|
|||||||
* options - {Object} An optional object whose properties will be set on
|
* options - {Object} An optional object whose properties will be set on
|
||||||
* this instance.
|
* this instance.
|
||||||
*/
|
*/
|
||||||
initialize: function(options) {
|
|
||||||
OpenLayers.Format.WFSCapabilities.v1.prototype.initialize.apply(
|
|
||||||
this, [options]
|
|
||||||
);
|
|
||||||
},
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Method: read_cap_DefaultSRS
|
* Method: read_cap_DefaultSRS
|
||||||
|
|||||||
@@ -43,9 +43,6 @@ OpenLayers.Format.WMSCapabilities.v1 = OpenLayers.Class(
|
|||||||
* options - {Object} An optional object whose properties will be set on
|
* options - {Object} An optional object whose properties will be set on
|
||||||
* this instance.
|
* this instance.
|
||||||
*/
|
*/
|
||||||
initialize: function(options) {
|
|
||||||
OpenLayers.Format.XML.prototype.initialize.apply(this, [options]);
|
|
||||||
},
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* APIMethod: read
|
* APIMethod: read
|
||||||
|
|||||||
@@ -31,11 +31,6 @@ OpenLayers.Format.WMSCapabilities.v1_1_0 = OpenLayers.Class(
|
|||||||
* options - {Object} An optional object whose properties will be set on
|
* options - {Object} An optional object whose properties will be set on
|
||||||
* this instance.
|
* this instance.
|
||||||
*/
|
*/
|
||||||
initialize: function(options) {
|
|
||||||
OpenLayers.Format.WMSCapabilities.v1_1.prototype.initialize.apply(
|
|
||||||
this, [options]
|
|
||||||
);
|
|
||||||
},
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Property: readers
|
* Property: readers
|
||||||
|
|||||||
@@ -31,11 +31,6 @@ OpenLayers.Format.WMSCapabilities.v1_1_1 = OpenLayers.Class(
|
|||||||
* options - {Object} An optional object whose properties will be set on
|
* options - {Object} An optional object whose properties will be set on
|
||||||
* this instance.
|
* this instance.
|
||||||
*/
|
*/
|
||||||
initialize: function(options) {
|
|
||||||
OpenLayers.Format.WMSCapabilities.v1_1.prototype.initialize.apply(
|
|
||||||
this, [options]
|
|
||||||
);
|
|
||||||
},
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Property: readers
|
* Property: readers
|
||||||
|
|||||||
@@ -37,11 +37,6 @@ OpenLayers.Format.WMSCapabilities.v1_1_1_WMSC = OpenLayers.Class(
|
|||||||
* options - {Object} An optional object whose properties will be set on
|
* options - {Object} An optional object whose properties will be set on
|
||||||
* this instance.
|
* this instance.
|
||||||
*/
|
*/
|
||||||
initialize: function(options) {
|
|
||||||
OpenLayers.Format.WMSCapabilities.v1_1_1.prototype.initialize.apply(
|
|
||||||
this, [options]
|
|
||||||
);
|
|
||||||
},
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Property: readers
|
* Property: readers
|
||||||
|
|||||||
@@ -65,9 +65,6 @@ OpenLayers.Format.XLS.v1 = OpenLayers.Class(OpenLayers.Format.XML, {
|
|||||||
* options - {Object} An optional object whose properties will be set on
|
* options - {Object} An optional object whose properties will be set on
|
||||||
* this instance.
|
* this instance.
|
||||||
*/
|
*/
|
||||||
initialize: function(options) {
|
|
||||||
OpenLayers.Format.XML.prototype.initialize.apply(this, [options]);
|
|
||||||
},
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Method: read
|
* Method: read
|
||||||
|
|||||||
@@ -39,11 +39,6 @@ OpenLayers.Format.XLS.v1_1_0 = OpenLayers.Class(
|
|||||||
* options - {Object} An optional object whose properties will be set on
|
* options - {Object} An optional object whose properties will be set on
|
||||||
* this instance.
|
* this instance.
|
||||||
*/
|
*/
|
||||||
initialize: function(options) {
|
|
||||||
OpenLayers.Format.XLS.v1.prototype.initialize.apply(
|
|
||||||
this, [options]
|
|
||||||
);
|
|
||||||
},
|
|
||||||
|
|
||||||
CLASS_NAME: "OpenLayers.Format.XLS.v1_1_0"
|
CLASS_NAME: "OpenLayers.Format.XLS.v1_1_0"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user