oops semicolons

This commit is contained in:
James Kiesel 2017-01-17 08:20:57 +13:00
parent 646b49e5ae
commit 1d8882a1dd

View File

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