lint docs
This commit is contained in:
parent
7718ef4c81
commit
8c9cc0e1f4
4 changed files with 17 additions and 15 deletions
|
|
@ -16,7 +16,6 @@ module.exports = function($window, renderer, pubsub) {
|
|||
current.path = path, current.component = component
|
||||
renderer.render(root, payload.view(Vnode(component, null, args, undefined, undefined, undefined)))
|
||||
}
|
||||
if (typeof payload.onmatch !== "function") payload.onmatch = function() {resolve(current.component)}
|
||||
if (path !== current.path) payload.onmatch(Vnode(payload, null, args, undefined, undefined, undefined), resolve)
|
||||
else resolve(current.component)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue