2014-10-10 15:07:55 +11:00

30 lines
761 B
JavaScript

var BaseController = function (Chaplin) {
function BaseController() {
}
BaseController.prototype = Object.create(Chaplin.Controller.prototype, {
constructor: {
value: BaseController,
enumerable: false,
writable: true,
configurable: true
}
});
BaseController.__proto__ = Chaplin.Controller;
return BaseController;
}(Chaplin);
var BaseController2 = function (Chaplin) {
function BaseController2() {
}
BaseController2.prototype = Object.create(Chaplin.Controller.Another.prototype, {
constructor: {
value: BaseController2,
enumerable: false,
writable: true,
configurable: true
}
});
BaseController2.__proto__ = Chaplin.Controller.Another;
return BaseController2;
}(Chaplin);