Remove unused variables (#453)

Closes https://github.com/yoshuawuyts/choo/issues/451
This commit is contained in:
Yoshua Wuyts
2017-03-30 11:48:21 +02:00
committed by GitHub
parent 1699580468
commit b7b85261eb
+2 -2
View File
@@ -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')