Sebastian McKenzie 5bad458b09 Fix tests
2014-12-05 23:05:20 +11:00

29 lines
515 B
JavaScript

"use strict";
var _extends = function (child, parent) {
child.prototype = Object.create(parent.prototype, {
constructor: {
value: child,
enumerable: false,
writable: true,
configurable: true
}
});
child.__proto__ = parent;
};
var Test = (function (Foo) {
var Test = function Test() {
Foo.prototype.test.whatever();
Foo.prototype.test.call(this);
};
_extends(Test, Foo);
Test.test = function () {
return Foo.wow.call(this);
};
return Test;
})(Foo);