2014-10-11 08:58:54 +11:00

25 lines
499 B
JavaScript

var Test = function (Foo) {
function Test() {
woops.super.test();
Foo.call(this);
Foo.prototype.test.call(this);
foob(Foo);
}
Test.prototype = Object.create(Foo.prototype, {
constructor: {
value: Test,
enumerable: false,
writable: true,
configurable: true
}
});
Test.__proto__ = Foo;
Test.prototype.test = function () {
Foo.prototype.test.call(this);
};
Test.foo = function () {
Foo.foo.call(this);
};
return Test;
}(Foo);