|
|
|
|
|
by lars
5009 days ago
|
|
I don't know that it's all that smart. It uses the DOMReady event in all modern browsers, and uses a load of tricks to get the same behaviour in older browsers. It will never fire before the DOM is ready, like the function in the article does. |
|
(function($) { // $() will work as an alias for jQuery() inside of this function })(jQuery);