Remove unused variables (#453)
Closes https://github.com/yoshuawuyts/choo/issues/451
This commit is contained in:
@@ -49,12 +49,12 @@ function Framework (opts) {
|
||||
}
|
||||
|
||||
function start () {
|
||||
tree = router(createLocation(), state, emit)
|
||||
tree = router(createLocation())
|
||||
rerender = nanoraf(function () {
|
||||
if (hasPerformance && timingEnabled) {
|
||||
window.performance.mark('choo:renderStart')
|
||||
}
|
||||
var newTree = router(createLocation(), state, emit)
|
||||
var newTree = router(createLocation())
|
||||
tree = nanomorph(tree, newTree)
|
||||
if (hasPerformance && timingEnabled) {
|
||||
window.performance.mark('choo:renderEnd')
|
||||
|
||||
Reference in New Issue
Block a user