remove redundant enumerable: true property on class methods
This commit is contained in:
@@ -12,7 +12,6 @@ var Foo = (function () {
|
||||
value: _asyncToGenerator(function* () {
|
||||
var wat = yield bar();
|
||||
}),
|
||||
enumerable: false,
|
||||
writable: true,
|
||||
configurable: true
|
||||
}
|
||||
|
||||
@@ -12,7 +12,6 @@ var Foo = (function () {
|
||||
value: _bluebird.coroutine(function* () {
|
||||
var wat = yield bar();
|
||||
}),
|
||||
enumerable: false,
|
||||
writable: true,
|
||||
configurable: true
|
||||
}
|
||||
|
||||
@@ -31,7 +31,6 @@ var Test = (function (Foo) {
|
||||
_get(Object.getPrototypeOf(Test), "foo", this).apply(this, arguments);
|
||||
(_get2 = _get(Object.getPrototypeOf(Test), "foo", this)).call.apply(_get2, [this, "test"].concat(_slice.call(arguments)));
|
||||
},
|
||||
enumerable: false,
|
||||
writable: true,
|
||||
configurable: true
|
||||
}
|
||||
@@ -43,7 +42,6 @@ var Test = (function (Foo) {
|
||||
_get(Object.getPrototypeOf(Test.prototype), "test", this).apply(this, arguments);
|
||||
(_get2 = _get(Object.getPrototypeOf(Test.prototype), "test", this)).call.apply(_get2, [this, "test"].concat(_slice.call(arguments)));
|
||||
},
|
||||
enumerable: false,
|
||||
writable: true,
|
||||
configurable: true
|
||||
}
|
||||
|
||||
@@ -19,7 +19,6 @@ var Test = (function (Foo) {
|
||||
value: function test() {
|
||||
return _get(Object.getPrototypeOf(Test), "wow", this).call(this);
|
||||
},
|
||||
enumerable: false,
|
||||
writable: true,
|
||||
configurable: true
|
||||
}
|
||||
|
||||
@@ -10,7 +10,6 @@ var Test = (function () {
|
||||
get: function () {
|
||||
return 5 + 5;
|
||||
},
|
||||
enumerable: false,
|
||||
set: function (val) {
|
||||
this._test = val;
|
||||
},
|
||||
|
||||
@@ -10,7 +10,6 @@ var Test = (function () {
|
||||
get: function () {
|
||||
return 5 + 5;
|
||||
},
|
||||
enumerable: false,
|
||||
configurable: true
|
||||
}
|
||||
});
|
||||
|
||||
@@ -10,7 +10,6 @@ var Test = (function () {
|
||||
value: function test() {
|
||||
return 5 + 5;
|
||||
},
|
||||
enumerable: false,
|
||||
writable: true,
|
||||
configurable: true
|
||||
}
|
||||
|
||||
@@ -10,7 +10,6 @@ var Test = (function () {
|
||||
set: function (val) {
|
||||
this._test = val;
|
||||
},
|
||||
enumerable: false,
|
||||
configurable: true
|
||||
}
|
||||
});
|
||||
|
||||
@@ -18,7 +18,6 @@ var BaseView = (function () {
|
||||
value: function foo() {
|
||||
this.autoRender = true;
|
||||
},
|
||||
enumerable: false,
|
||||
writable: true,
|
||||
configurable: true
|
||||
}
|
||||
|
||||
@@ -8,13 +8,11 @@ var A = (function () {
|
||||
_prototypeProperties(A, {
|
||||
a: {
|
||||
value: function a() {},
|
||||
enumerable: false,
|
||||
writable: true,
|
||||
configurable: true
|
||||
},
|
||||
b: {
|
||||
get: function () {},
|
||||
enumerable: false,
|
||||
set: function (b) {},
|
||||
configurable: true
|
||||
}
|
||||
|
||||
@@ -12,14 +12,12 @@ var Foo = (function () {
|
||||
get: function () {
|
||||
return _defineProperty(this, "bar", complex()).bar;
|
||||
},
|
||||
enumerable: false,
|
||||
configurable: true
|
||||
}
|
||||
}, bar, {
|
||||
get: function () {
|
||||
return _defineProperty(this, bar, complex())[bar];
|
||||
},
|
||||
enumerable: false,
|
||||
configurable: true
|
||||
}));
|
||||
|
||||
|
||||
@@ -10,7 +10,6 @@ var Test = (function () {
|
||||
get: function () {
|
||||
throw new Error("wow");
|
||||
},
|
||||
enumerable: false,
|
||||
configurable: true
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user