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 {
constructor() {
arr.map(x => x * x);
arr.map(x => x * x);
}
}

View File

@@ -1,6 +1,9 @@
var Test = function () {
"use strict";
var Test = function() {
var Test = function Test() {
arr.map(x => x * x);
};
return Test;
}();
}();

View File

View File

@@ -1,5 +1,5 @@
class Test {
constructor() {
arr.map(x => x * x);
arr.map(x => x * x);
}
}

View File

@@ -1,7 +1,9 @@
"use strict";
class Test {
constructor() {
arr.map(function (x) {
arr.map(function(x) {
return x * x;
});
}
}
}