Fix ESLint issues

This commit is contained in:
Michael Teeuw 2016-09-29 11:12:49 +02:00
parent fc0c706100
commit 54f04c9141

View File

@ -25,8 +25,7 @@
for (var name in prop) { for (var name in prop) {
// Check if we're overwriting an existing function // Check if we're overwriting an existing function
prototype[name] = typeof prop[name] == "function" && prototype[name] = typeof prop[name] == "function" &&
typeof _super[name] == "function" && fnTest.test(prop[name]) ? typeof _super[name] == "function" && fnTest.test(prop[name]) ? (function(name, fn) {
(function(name, fn) {
return function() { return function() {
var tmp = this._super; var tmp = this._super;
@ -41,8 +40,7 @@
return ret; return ret;
}; };
})(name, prop[name]) : })(name, prop[name]) : prop[name];
prop[name];
} }
// The dummy class constructor // The dummy class constructor