fix source-map transformation tests

This commit is contained in:
Sebastian McKenzie
2014-11-03 11:09:14 +11:00
parent 435b9434ea
commit bd2e3d784f
4 changed files with 10 additions and 19 deletions

View File

@@ -1,5 +1,4 @@
"use strict";
var t = function(x) {
return x * x;
};

View File

@@ -4,7 +4,7 @@
"column": 18
},
"generated": {
"line": 4,
"line": 3,
"column": 14
}
}]

View File

@@ -1,18 +1,10 @@
"use strict";
var Test = function() {
var Test = (function () {
var Test = function Test() {};
Object.defineProperties(Test.prototype, {
bar: {
get: function() {
throw new Error("wow");
}
}
});
Object.defineProperties(Test.prototype, { bar: { get: function () {
throw new Error("wow");
} } });
return Test;
}();
var test = new Test();
test.bar;
})();
var test = new Test;
test.bar;

View File

@@ -4,7 +4,7 @@
"column": 11
},
"generated": {
"line": 9,
"column": 15
"line": 5,
"column": 11
}
}]