recipeswithbackbone / recipeswithbackbone.github.com

Marketing site for the best damn backbone.js book evar
23 stars 1 forks source link

use Backbone.History.navigate() #10

Closed ngauthier closed 12 years ago

ngauthier commented 12 years ago

"- p 44: It would be more reliable to use Backbone.History.navigate() instead of changing the window.location. Then it will use # or pushState according to how you initialize Backbone.History."

chrislawlor commented 12 years ago

+1

ngauthier commented 12 years ago

status: window.location has been removed from all recipes except the router redirection chapter, which still needs some edits.

eee-c commented 12 years ago

All fixed now (except for one place intentionally left to illustrate a bad practice).