clean up and fix tests

This commit is contained in:
Sebastian McKenzie
2014-11-07 12:33:35 +11:00
parent 99ba77bb0b
commit df70be4ebb
96 changed files with 496 additions and 446 deletions

View File

@@ -1,12 +1,14 @@
"use strict";
var _extends = function (child, parent) {
child.prototype = Object.create(parent.prototype, { constructor: {
value: child,
enumerable: false,
writable: true,
configurable: true
} });
child.prototype = Object.create(parent.prototype, {
constructor: {
value: child,
enumerable: false,
writable: true,
configurable: true
}
});
child.__proto__ = parent;
};
@@ -22,4 +24,4 @@ var Foo = (function (Bar) {
_extends(Foo, Bar);
return Foo;
})(Bar);
})(Bar);