lib/carte/client/router.coffee in carte-server-0.0.25 vs lib/carte/client/router.coffee in carte-server-0.0.26
- old
+ new
@@ -5,15 +5,14 @@
routes:
':title' : 'show'
'' : 'list'
list: (string)->
+ console.log '[router] list', string
location.hash = '/' if location.hash == ''
- console.log 'list'
@current = 'list'
@query = querystring.parse(string)
- console.log @query
show: (title)->
- console.log 'show', title
+ console.log '[router] show', title
@current = 'show'
@title = title