Modernizr/Modernizr — Issue #411: IE9: 'complete' called before loaded script was executed
Author: gweax
Created: 2011-11-18 10:42:42+00:00
State: open

This is gonna be a lousy bug report... Sigh.

I use Modernizr to load a script, that creates a global object (as a namespace). In my 'complete' function, I use that object. In IE9 every now and then, it does not exist yet when the complete function is called. So I set a timeout to call the complete function after 50ms, and then everything works out fine.

Now the lousy part. It's not a public website and I have not (yet) been able to reduce it to a simple showcase...