Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

overrite method getFragment leaves a bug ? #107

Open
luqingxuan opened this issue Jul 7, 2016 · 0 comments
Open

overrite method getFragment leaves a bug ? #107

luqingxuan opened this issue Jul 7, 2016 · 0 comments

Comments

@luqingxuan
Copy link

luqingxuan commented Jul 7, 2016

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant