super seems to be a reserved word (at least in mozilla)

git-svn-id: http://svn.openlayers.org/trunk/openlayers@1652 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
euzuro
2006-10-06 16:03:35 +00:00
parent 3be99e67e6
commit 53d2fd3033

View File

@@ -14,8 +14,8 @@ OpenLayers.Class = {
},
inherit: function () {
var super = arguments[0];
var proto = new super(OpenLayers.Class.isPrototype);
var superClass = arguments[0];
var proto = new superClass(OpenLayers.Class.isPrototype);
for (var i = 1; i < arguments.length; i++) {
if (typeof arguments[i] == "function") {
var mixin = arguments[i];