From 27a423a5f82f2a628385e0c3e18258a7afea1b84 Mon Sep 17 00:00:00 2001 From: Schuyler Erle Date: Thu, 22 Mar 2007 20:36:25 +0000 Subject: [PATCH] Inadvertently checked in a change to BaseTypes in r2859. Undoing it. git-svn-id: http://svn.openlayers.org/trunk/openlayers@2860 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- lib/OpenLayers/BaseTypes.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/OpenLayers/BaseTypes.js b/lib/OpenLayers/BaseTypes.js index 02e21c8ab5..c09f531bd9 100644 --- a/lib/OpenLayers/BaseTypes.js +++ b/lib/OpenLayers/BaseTypes.js @@ -9,7 +9,7 @@ OpenLayers.Class = { create: function() { return function() { - if (!arguments || arguments[0] != OpenLayers.Class.isPrototype) + if (arguments && arguments[0] != OpenLayers.Class.isPrototype) this.initialize.apply(this, arguments); } },