inherit super class static properties - fixes #31

This commit is contained in:
Sebastian McKenzie
2014-10-10 15:07:55 +11:00
parent 76f1abe5b0
commit 35bb0bc71d
8 changed files with 15 additions and 2 deletions

View File

@@ -13,5 +13,6 @@ var Test = function (Foo) {
configurable: true
}
});
Test.__proto__ = Foo;
return Test;
}(Foo);

View File

@@ -9,6 +9,7 @@ var BaseController = function (Chaplin) {
configurable: true
}
});
BaseController.__proto__ = Chaplin.Controller;
return BaseController;
}(Chaplin);
@@ -23,5 +24,6 @@ var BaseController2 = function (Chaplin) {
configurable: true
}
});
BaseController2.__proto__ = Chaplin.Controller.Another;
return BaseController2;
}(Chaplin);

View File

@@ -9,6 +9,7 @@ var Q = function(_ref) {
configurable: true
}
});
Q.__proto__ = _ref;
return Q;
}(function() {});

View File

@@ -9,5 +9,6 @@ var Test = function (Foo) {
configurable: true
}
});
Test.__proto__ = Foo;
return Test;
}(Foo);