jQuery / underscore.js templating - Compatible with IE 6+?
Asked Answered
G

3

3

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

Gurley answered 18/5, 2012 at 17:41 Comment(2)
Have you tried it out? It's basic string manipulation to my knowledge, so I don't think you'll encounter any problems.Revalue
I've always done them in backbone, wanted to make sure it would work correctly before I moved forward. But yes, I totally agree.Gurley
U
6

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.

Urga answered 18/5, 2012 at 21:17 Comment(0)
C
5

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.

Cuckoopint answered 6/8, 2013 at 21:21 Comment(0)
I
2

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

Inchworm answered 18/5, 2012 at 21:2 Comment(1)
ietester is also useful if you don't have a 20 year old computer handy. my-debugbar.com/wiki/IETester/HomePageMatildematin

© 2022 - 2024 — McMap. All rights reserved.