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
This commit is contained in:
@@ -20,7 +20,7 @@ OpenLayers.Class = {
|
|||||||
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];
|
||||||
arguments[i] = mixin.prototype;
|
arguments[i] = new mixin(OpenLayers.Class.isPrototype);
|
||||||
}
|
}
|
||||||
OpenLayers.Util.extend(proto, arguments[i]);
|
OpenLayers.Util.extend(proto, arguments[i]);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user