Commit Graph

10 Commits

Author SHA1 Message Date
John Resig
9b7bbc619b DOMContentLoaded works in Opera 9b2+, so I have it firing for that now too - the means that there is a DOM Ready solution for every major browser! (Older version of Opera simply fallback to window.onload) 2006-06-16 04:23:30 +00:00
John Resig
598fcca346 Added some of the fixes discussed over at Dean's blog, concerning DOM Ready. 2006-06-16 00:19:47 +00:00
John Resig
ba7ebaf70b Adding in the brand new, working, IE DOM Ready code. Plus I made it such that if you bind a ready() function after the DOM has loaded, it will fire the function instantly. 2006-06-14 20:05:06 +00:00
John Resig
55370e5710 Added in some revised DOM Ready code, I've removed all the kludgey stuff. I'd prefer to have predictable, slow, code that unpredictable fast code. 2006-06-13 04:12:06 +00:00
John Resig
08bb08fede I've completely resolved the known issues with document ready. I use the known DOM ready functions that Mozilla and IE provides. For Opera and Safari I fall back to the original hack, but ignore it, and fall back to window.onload, if there are scripts embedded in the DOM. 2006-06-11 18:59:45 +00:00
John Resig
4986837802 Not only does it pass the default JSLint settings, it also no longer leaks *any* global variables! 2006-05-17 02:42:03 +00:00
John Resig
d71a85001b jQuery is now JSLint (jslint.com) compatible, save for the eval stuff. Can't there b
e legitamite uses for eval?
2006-05-16 22:15:05 +00:00
John Resig
fc26b57ace Added in handling for DOMContentLoaded for Mozilla and window.onload, just in case. 2006-04-08 06:28:40 +00:00
John Resig
f0034d64e3 Fixed more formatting/tab problems. 2006-03-23 21:13:20 +00:00
John Resig
8a4a1edf04 Inital Import. 2006-03-22 03:33:07 +00:00