From 09bef106876316d1e0632bf793a00073fbe7dde5 Mon Sep 17 00:00:00 2001 From: Schuyler Erle Date: Mon, 26 Mar 2007 20:56:48 +0000 Subject: [PATCH] Oops, didn't mean to apply changes to BaseTypes in r2899. I gotta remember to svn status next time. git-svn-id: http://svn.openlayers.org/trunk/openlayers@2900 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 1c1306e057..edcf84db3a 100644 --- a/lib/OpenLayers/BaseTypes.js +++ b/lib/OpenLayers/BaseTypes.js @@ -20,7 +20,7 @@ OpenLayers.Class = { for (var i = 1; i < arguments.length; i++) { if (typeof arguments[i] == "function") { var mixin = arguments[i]; - arguments[i] = mixin.prototype; + arguments[i] = new mixin(OpenLayers.Class.isPrototype); } OpenLayers.Util.extend(proto, arguments[i]);