Skip to content

Commit

Permalink
added debug
Browse files Browse the repository at this point in the history
  • Loading branch information
wyqydsyq committed Aug 9, 2016
1 parent 0886ad8 commit d70b9d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ui/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import Routes from './routes'

function Main (sources) {
let routes$ = sources.Router.define(Routes).remember(),
page$ = routes$.map(({path, value}) => value(sources)).remember()
page$ = routes$.map(({path, value}) => value(sources)).remember().debug('pageChange')

return {
DOM: page$.map(page => page.DOM).flatten(),
Expand Down

0 comments on commit d70b9d1

Please sign in to comment.