backbone-query-parameters icon indicating copy to clipboard operation
backbone-query-parameters copied to clipboard

overrite method getFragment leaves a bug ?

Open luqingxuan opened this issue 8 years ago • 0 comments

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

luqingxuan avatar Jul 07 '16 09:07 luqingxuan