lib/carte/client/router.coffee in carte-server-1.0.8 vs lib/carte/client/router.coffee in carte-server-1.0.9

- old
+ new

@@ -1,12 +1,17 @@ querystring = require('querystring') Backbone = require('backbone') module.exports = class Router extends Backbone.Router routes: + 'tags': 'tags' '': 'list' ':title': 'show' ':title/history': 'history' + + tags: -> + console.log '[router] tags' + @current = 'tags' list: (string)-> console.log '[router] list', string location.hash = '/' if location.hash == '' @current = 'list'