Merge pull request #144 from yoshuawuyts/view-name

onAction: prefix views with view
This commit is contained in:
Yoshua Wuyts
2016-07-08 13:45:41 +02:00
committed by GitHub
+1 -1
View File
@@ -117,7 +117,7 @@ function choo (opts) {
} }
function wrap (child, route) { function wrap (child, route) {
const send = createSend(route, true) const send = createSend('view: ' + route, true)
return function chooWrap (params, state) { return function chooWrap (params, state) {
const nwPrev = prev const nwPrev = prev
const nwState = prev = xtend(state, { params: params }) const nwState = prev = xtend(state, { params: params })