
1 meteor 2013-05-29 18:05:15 +08:00 |
2 otakustay 2013-05-29 18:11:23 +08:00 backbone几乎和任何界面、DOM没有任何关系,就一系统基础框架管一堆普通的对象,兼容性上不是问题 |
3 YuHong 2013-05-29 23:24:23 +08:00 via iPhone router用到hashChange,history用到hashState,Backbone.localstorage 这些肯定不支持。 dom的操作依赖jQuery没问题,Zepto不行。 underscore的方法应该没问题。 还真没在IE6上用过,用上backbone为啥还用考虑IE6? |
4 kangjia 2013-05-30 00:15:22 +08:00 IE6可以用。 router是使用的setInterval来监听的hash |
6 freestyle21 2014-03-04 14:34:13 +08:00 @kangjia 正解。如果支持pushState绑定popstate事件;支持onhasChange绑定hashChange;最后不行就setInterval. |