timdream/simworker — pull request #2 by jefferyto (2012-07-05 10:48:20+00:00)
Title: IE fixes

IE6-8 doesn't support `script.onload`, and so calls to `worker.postMessage()` were stuck in `worker._quere`. 48f57fa3ba5801f976a0e4c919accf4d447780fe adds support for `script.onreadystatechange` (basically copied from jQuery 1.7.2).

After this fix, IE8 kept throwing an error on `worker._iframeEl.contentWindow.onmessage({data:obj});`. For some reason 93518b601c2d4513391fcfb8fff1921adc614ac7 works, I'm not sure why :-)