jQuery / underscore.js templating - Compatible wit

2019-05-13 05:23发布

So, I just learned about these recently and am about to put them into a site. Now, the question I am posing is, does this at all throw any kid of errors in IE 6+? Yes, I know IE6, what can you do.. When I say errors, I mean IE errors / warnings.

Appreciate all the help as usual, thanks in advance.

-Wes

3条回答
兄弟一词,经得起流年.
2楼-- · 2019-05-13 05:39

Firstly, yes: jQuery does work with IE6 -- it says as much on the jQuery Homepage (hover over the "Cross browser" link and you'll see a popup that says IE6+). (having said that, a lot of third-party jQuery plugins are not IE6 compatible, so be careful about that)

Underscore.js I'm less certain about -- I haven't tried it on IE6, and the Underscore.js website is not explicit about which browsers it supports. However it does include functions designed to replace functionality missing from older browsers, and IE6 is discussed in the issue tickets on github, so I would say give it a go.

查看更多
爷、活的狠高调
3楼-- · 2019-05-13 05:44

A good way to check this is to run the test suit on IE6 (or any browser):

查看更多
闹够了就滚
4楼-- · 2019-05-13 05:59

The Underscore test suite is now here.

Running in on IETester results in all present tests run cleanly in IE 6 through 10, but not on IE 5.5.

I also recorded positive outcome on current Chrome 28, Opera 12 and Firefox 22.

查看更多
登录 后发表回答