2014-11-07 12:33:35 +11:00

24 lines
412 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.apply(this, arguments);
};
_extends(Test, Foo);
return Test;
})(Foo);