garycourt / JSV

A JavaScript implementation of an extendable, fully compliant JSON Schema validator.
618 stars 84 forks source link

Broken in IE #2

Closed bitpusher closed 14 years ago

bitpusher commented 14 years ago

I initially thought it was a case of missing Array.indexOf but it seems that there are other issues.

Do you have plans to make this script run in IE<9 as I, and probably others, use Visual Studio's JS debugging which is tied to IE.

garycourt commented 14 years ago

Yea, I normally avoid IE like the plague so I didn't test against it. Looks like a couple little things like Array#indexOf, string indexing, and the test suite not working. I fixed these, but the biggest issue appears to be with the URL parsing library. Since I didn't write this, it'll take me a bit longer to figure out how to fix it.

bitpusher commented 14 years ago

thanks for the reply.

I feel your pain every time I want to step through some JS, which I tend to do a lot ;-)

I do wish that I could wake up and IE and Opera would have just been a bad dream.

If you have pushed the jsv fixes, I will take a look at the url.js if you like.

bitpusher commented 14 years ago

umm... ok. after taking a look, I rescind my offer to try to take a look. I have my own rabbit holes. ;-) thanks for handling this.

garycourt commented 14 years ago

Issue solved with latest URI.js library.