Fix comma dangle lint error

This commit is contained in:
Tor Morten Jensen
2018-06-20 14:50:43 +02:00
committed by GitHub
parent 2af688c4f1
commit 2d9b9d16bf

View File

@@ -29,8 +29,8 @@ class Router {
bubbles: true, bubbles: true,
detail: { detail: {
route, route,
fn: event fn: event,
} },
})); }));
const fire = route !== '' && this.routes[route] && typeof this.routes[route][event] === 'function'; const fire = route !== '' && this.routes[route] && typeof this.routes[route][event] === 'function';