backbone.js router doesn't work on IE6

江枫思渺然 提交于 2019-12-13 16:21:37

问题


When I use the Router in Backbone.js, IE6 throw a Permission Denied on the following line:

if (this.iframe && (frag != this.getFragment(this.iframe.location.hash)))

the Backbone.js version is 0.5.3 , I also try some other version, but it is not work also.


回答1:


The Backbone.js router does work in IE6, but it uses hash fragment routing (http://domain/#route) instead of HTML5 history push state routing (http://domain/route)




回答2:


As far as I know backbone.js does not claim to support IE6



来源:https://stackoverflow.com/questions/7550912/backbone-js-router-doesnt-work-on-ie6

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!