dyoo / whalesong

Whalesong: Racket to JavaScript compiler
http://hashcollision.org/whalesong
250 stars 30 forks source link

Potential issue with IE 10 #42

Closed dyoo closed 12 years ago

dyoo commented 13 years ago

SK mentions that Moby isn't playing well with IE10, with the following:


I tried to run

www.cs.brown.edu/~sk/tmp/Tara/

in IE 10 on Windows 8, and it wouldn't work:

Object doesn't support property or method 'indexOf' 'Node' is undefined


I'm following up and finding out if this affects Whalesong as well.

In Whalesong, the only place indexOf shows up is in the implementation of jsworld's remove_world_listener function. This is not safe under IE anyway, so in Whalesong, I'm replacing it with a manual array scan.

dyoo commented 12 years ago

Corrected the issues preventing Shriram's words program from running. (Issue 50 stuff)