fix up test styling and add use-strict declarator
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
class Test {
|
||||
constructor() {
|
||||
this.state = "test";
|
||||
this.state = "test";
|
||||
}
|
||||
}
|
||||
|
||||
class Foo extends Bar {
|
||||
constructor() {
|
||||
this.state = "test";
|
||||
this.state = "test";
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
Reference in New Issue
Block a user