proposed ready patch (SVN3654)

proposed ready patch (SVN3654)


John,
this is a proposed improvement patch to the
"ready" function in current SVN 3654.
http://javascript.nwbox.com/IEContentLoaded/jquery-3654-ready.patch
it will modify/add the following:
- do not hide js errors to developers by moving the
user callback out of the try/catch block (important)
if callback has errors we may get endless intervals
- implement a "document.onreadystatechange" event
for IE that parallels the timeout in case page/binaries
are already cached (or for example when no images)
this is absolutely needed to be sure in any case to be
able to precede the "window.onload" event.
- back to 1.1.4, Safari and Internet Explorer checks split in
two blocks, it will be easier to maintain in future changes
Safari has "DOMContentLoaded" from r26101 (optional)
This has nothing to do with the ongoing comments on "ready",
thank you for looking in to this, hope it can go for 1.2.2...
Diego