Skip to content

overrite method getFragment leaves a bug ? #107

@luqingxuan

Description

@luqingxuan

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions