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 {
test() {
return 5 + 5;
return 5 + 5;
}
}

View File

@@ -1,12 +1,17 @@
var Test = function () {
var Test = function Test() { };
"use strict";
var Test = function() {
var Test = function Test() {};
Object.defineProperties(Test.prototype, {
test: {
writable: true,
value: function () {
value: function() {
return 5 + 5;
}
}
});
return Test;
}();
}();