FIX: eslint was broken

This commit is contained in:
Rafael dos Santos Silva 2017-02-02 01:12:49 -02:00
parent 6845f0151d
commit c34520d384

View File

@ -129,7 +129,7 @@ export function reopenWidget(name, opts) {
let existing = _registry[name]; let existing = _registry[name];
if (!existing) { if (!existing) {
console.error(`Could not find widget ${name} in registry`); console.error(`Could not find widget ${name} in registry`);
return return;
} }
Object.keys(opts).forEach(k => existing.prototype[k] = opts[k]); Object.keys(opts).forEach(k => existing.prototype[k] = opts[k]);