javascript - How to call a root handler from the router? -
i have router code:
var hellospacerouter = backbone.router.extend({ routes: { "" : "root", "signup": "signup", "login" : "login" } });
these handlers alter model state. changing state of model makes redraw view. first handler not called...
upd
code
javascript backbone.js backbone-routing
No comments:
Post a Comment