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 () {
|
function start () {
|
||||||
tree = router(createLocation(), state, emit)
|
tree = router(createLocation())
|
||||||
rerender = nanoraf(function () {
|
rerender = nanoraf(function () {
|
||||||
if (hasPerformance && timingEnabled) {
|
if (hasPerformance && timingEnabled) {
|
||||||
window.performance.mark('choo:renderStart')
|
window.performance.mark('choo:renderStart')
|
||||||
}
|
}
|
||||||
var newTree = router(createLocation(), state, emit)
|
var newTree = router(createLocation())
|
||||||
tree = nanomorph(tree, newTree)
|
tree = nanomorph(tree, newTree)
|
||||||
if (hasPerformance && timingEnabled) {
|
if (hasPerformance && timingEnabled) {
|
||||||
window.performance.mark('choo:renderEnd')
|
window.performance.mark('choo:renderEnd')
|
||||||
|
|||||||
Reference in New Issue
Block a user