News for hackers. Stuff that matters.
Re:Don’t let jQuery’s $(document).ready() slow you down by Encosia on Thursday August 19, 2010 @11:54AM (#1617697)
You can also use the module pattern[1] to isolate code from tampering or conflicts:

  (function($, window, undefined) {
    $(document).ready({
      // etc.
    });
  }(jQuery, window);
[1] http://www.yuiblog.com/blog/2007/06/12/module-pattern/

There are no comments on this comment yet.