remove 'empty' initialize method (method that only call the parent class). r=bartvde (closes #3147)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@11640 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -67,18 +67,6 @@ OpenLayers.Format.JSON = OpenLayers.Class(OpenLayers.Format, {
|
||||
return !!(window.JSON && typeof JSON.parse == "function" && typeof JSON.stringify == "function");
|
||||
})(),
|
||||
|
||||
/**
|
||||
* Constructor: OpenLayers.Format.JSON
|
||||
* Create a new parser for JSON.
|
||||
*
|
||||
* Parameters:
|
||||
* options - {Object} An optional object whose properties will be set on
|
||||
* this instance.
|
||||
*/
|
||||
initialize: function(options) {
|
||||
OpenLayers.Format.prototype.initialize.apply(this, [options]);
|
||||
},
|
||||
|
||||
/**
|
||||
* APIMethod: read
|
||||
* Deserialize a json string.
|
||||
|
||||
Reference in New Issue
Block a user