segFault
segFault

Reputation: 1228

Knockout JS 2.0.0 library breaks in IE 8

Hey is the screenshot of the error:

enter image description here

I have tried not using the KO debug version and I get the same error on the same line. If I upgrade to 2.2.1 my page breaks. I get NaN in date fields and all my jquery validation fields are red.

I found this problem because my ko if tags, <-- ko if: expression --> were not working in IE 8 so I changed the if to be 'if' and then I got this problem.

Any ideas?

Upvotes: 0

Views: 171

Answers (1)

segFault
segFault

Reputation: 1228

I had to upgrade to jquery 1.9 and knockout 2.2.1. To fix my page text from being red, I had to make sure all my tags were like this: instead of . I also ran my html with the w3 validators and fixed some other minimal issues.

Upvotes: 1

Related Questions