backbone.js 的跨浏览器如何?
我们正在使用多种浏览器类型 - 网络、移动设备、平板电脑和智能电视。我们正在为我们的 mvc 寻找backbone.js。
backbone.js 是否有任何已知的跨浏览器限制?
We are working with several browser types - on web, mobile, tablet and smart-tv. We are looking into backbone.js for our mvc.
Is there any known cross browser limitations of backbone.js?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
我认为这与 Backbone 关系不大,而与您使用的 HTML 和 CSS 有关。您可以在此处查看 Backbone 的移动使用列表:http://backbonejs.org/#examples。 jQuery 通常与 Backbone 一起使用,并且在浏览器兼容性方面拥有良好的记录。在这里查看:http://docs.jquery.com/Browser_Compatibility。
另请参阅 lwburk 提到的骨干测试套件
I think this has less to do with Backbone then it has to do with the HTML and CSS you use. You can see a list of mobile uses of Backbone here: http://backbonejs.org/#examples. jQuery is commonly used together with Backbone and has a great track record of browser compatiblity. Check that out here: http://docs.jquery.com/Browser_Compatibility.
See also the backbone test suite mentioned by lwburk
我刚刚开始学习backbone.js,但我们遇到了一个与历史记录相关的浏览器问题。
这:
旧浏览器有一些问题。
这就是我们到目前为止遇到的所有情况,但该项目仍然很新。
这是主干的github上的相关链接:
https://github.com/documentcloud/backbone/issues/173
I'm just starting to learn backbone.js but we had a browser related issue regarding the history.
This:
Has some trouble with older browsers.
That's all we've run into so far, but the project is still pretty new.
Here's a related link on backbone's github:
https://github.com/documentcloud/backbone/issues/173
c4urself 的答案很好,但需要用最新的证据来更新:
根据 braddunbar 在他们的 github 问题列表中发表了这条评论,他们没有官方支持文档,但是“据我所知 Backbone 支持 IE6+,并且最新版本的 Chrome、Safari、Firefox 和 Opera”
他们有一个测试套件,您可以使用它可以在您想要的任何浏览器中运行以测试支持。
另请参阅其依赖项的支持信息:
预计将在没有 JSON 对象的过时 Web 浏览器中运行,我想说这不会成为问题。
c4urself's answer is good, but bringing things up to date with more recent evidence:
According to this comment by braddunbar in their github issues list, they don't have an official support document, but "to my knowledge Backbone supports IE6+, and the latest version of Chrome, Safari, Firefox, and Opera"
They have a test suite here which you can run in whatever browser you want in order to test support.
See also the support information for their dependencies:
that are expected to run in obsolete web browsers" that don't have the JSON object, I'd say that's not going to be an issue.
Backbone 被开发为尽可能跨浏览器。即使他们使用历史 API,也有一个后备方案。
您可以使用它安全地开发任何现代网络应用程序。
Backbone is developed to be as cross browser as possible. Even though they are using history api there is a fallback for it.
You can safely develop any modern web app using it.