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,11 +1,11 @@
class Test {
constructor() {
this.state = "test";
this.state = "test";
}
}
class Foo extends Bar {
constructor() {
this.state = "test";
this.state = "test";
}
}

View File

@@ -1,7 +1,10 @@
var Test = function () {
"use strict";
var Test = function() {
var Test = function Test() {
this.state = "test";
};
return Test;
}();
@@ -21,4 +24,4 @@ var Foo = function(Bar) {
Foo.__proto__ = Bar;
return Foo;
}(Bar);
}(Bar);