fix up test styling and add use-strict declarator

This commit is contained in:
Sebastian McKenzie
2014-10-18 15:42:36 +11:00
parent 6c48e6cd66
commit dcaea68240
198 changed files with 697 additions and 447 deletions

View File

@@ -1,5 +1,5 @@
class Test {
get test() {
return 5 + 5;
return 5 + 5;
}
}

View File

@@ -1,11 +1,15 @@
var Test = function () {
var Test = function Test() { };
"use strict";
var Test = function() {
var Test = function Test() {};
Object.defineProperties(Test.prototype, {
test: {
get: function () {
get: function() {
return 5 + 5;
}
}
});
return Test;
}();
}();