Implementation of DOMContentLoaded failing when no assets
This is only an IE problem.
The "onload" event always fire before the "ready()" method in IE
when there are no assets (images/objects/styles) in the page.
I already new the implementation of IEContentLoaded in jQuery
was not complete, but I was told that the "onload" fall back will
always be a last resort solution so there would not have been
problems, the correct firing would have taken care of anyway.
I need to setup some more test to show the exact problem,
then I will submit the needed patch for this eventuality.
This may be somehow related to the problem posted in this group
about lazy loading jQuery. If the user does not setup a "ready()"
wrapped function, isReady will never become true.
I should reread that post though.
Diego Perini