From f627071274b46b5e6d3633ff4f15acca444ec835 Mon Sep 17 00:00:00 2001 From: fredj Date: Fri, 9 Dec 2011 10:52:27 +0100 Subject: [PATCH] Remove unnecessary initialize functions (only calls the parent). --- lib/OpenLayers/Layer/Boxes.js | 3 --- lib/OpenLayers/Layer/PointTrack.js | 3 --- 2 files changed, 6 deletions(-) diff --git a/lib/OpenLayers/Layer/Boxes.js b/lib/OpenLayers/Layer/Boxes.js index 91c3d49cad..481b742542 100644 --- a/lib/OpenLayers/Layer/Boxes.js +++ b/lib/OpenLayers/Layer/Boxes.js @@ -25,9 +25,6 @@ OpenLayers.Layer.Boxes = OpenLayers.Class(OpenLayers.Layer.Markers, { * name - {String} * options - {Object} Hashtable of extra options to tag onto the layer */ - initialize: function (name, options) { - OpenLayers.Layer.Markers.prototype.initialize.apply(this, arguments); - }, /** * Method: drawMarker diff --git a/lib/OpenLayers/Layer/PointTrack.js b/lib/OpenLayers/Layer/PointTrack.js index 2350415454..5a9dbf2230 100644 --- a/lib/OpenLayers/Layer/PointTrack.js +++ b/lib/OpenLayers/Layer/PointTrack.js @@ -44,9 +44,6 @@ OpenLayers.Layer.PointTrack = OpenLayers.Class(OpenLayers.Layer.Vector, { * options - {Object} Optional object with properties to tag onto the * instance. */ - initialize: function(name, options) { - OpenLayers.Layer.Vector.prototype.initialize.apply(this, arguments); - }, /** * APIMethod: addNodes