i have two pages:index & about,
enter browser my url and GO to about page:http://localhost:8888/#about
my backbone history config :
Backbone.history.start({
root : '',
pushState:false,
hashChange : true
});
so browser give me index page ,but not about page, why?
i notice that,u overrite class Backbone.Histroy.getFragment,
it leaves a bug,i think
oh , backbone use _usePushState for if condition, not _hasPushState
i have two pages:index & about,
enter browser my url and GO to about page:http://localhost:8888/#about
my backbone history config :
so browser give me index page ,but not about page, why?
i notice that,u overrite class Backbone.Histroy.getFragment,
it leaves a bug,i think
oh , backbone use _usePushState for if condition, not _hasPushState