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:
@@ -14,8 +14,8 @@ OpenLayers.Class = {
|
|||||||
},
|
},
|
||||||
|
|
||||||
inherit: function () {
|
inherit: function () {
|
||||||
var super = arguments[0];
|
var superClass = arguments[0];
|
||||||
var proto = new super(OpenLayers.Class.isPrototype);
|
var proto = new superClass(OpenLayers.Class.isPrototype);
|
||||||
for (var i = 1; i < arguments.length; i++) {
|
for (var i = 1; i < arguments.length; i++) {
|
||||||
if (typeof arguments[i] == "function") {
|
if (typeof arguments[i] == "function") {
|
||||||
var mixin = arguments[i];
|
var mixin = arguments[i];
|
||||||
|
|||||||
Reference in New Issue
Block a user