clean up and fix tests
This commit is contained in:
@@ -2,15 +2,20 @@
|
||||
|
||||
var _classProps = function (child, staticProps, instanceProps) {
|
||||
if (staticProps) Object.defineProperties(child, staticProps);
|
||||
|
||||
if (instanceProps) Object.defineProperties(child.prototype, instanceProps);
|
||||
};
|
||||
|
||||
var Test = (function () {
|
||||
var Test = function Test() {};
|
||||
|
||||
_classProps(Test, null, { test: { get: function () {
|
||||
return 5 + 5;
|
||||
} } });
|
||||
_classProps(Test, null, {
|
||||
test: {
|
||||
get: function () {
|
||||
return 5 + 5;
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
return Test;
|
||||
})();
|
||||
})();
|
||||
|
||||
Reference in New Issue
Block a user