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

@@ -2,18 +2,23 @@
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, { bar: { get: function () {
throw new Error("wow");
} } });
_classProps(Test, null, {
bar: {
get: function () {
throw new Error("wow");
}
}
});
return Test;
})();
var test = new Test;
test.bar;
var test = new Test();
test.bar;

View File

@@ -1,10 +1,10 @@
[{
"original": {
"line": 3,
"column": 11
"column": 10
},
"generated": {
"line": 12,
"column": 11
"line": 15,
"column": 15
}
}]