From f53aa62fd3f08ad7a05e99e3836132216a8d5c7d Mon Sep 17 00:00:00 2001 From: John Resig Date: Wed, 22 Aug 2007 06:51:41 +0000 Subject: Only bind .ready() once per instance of jQuery - and only bind if the ready() method is actually called (nothing is bound if window/load is used). --- src/intro.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/intro.js') diff --git a/src/intro.js b/src/intro.js index 9c2f985eb..af50383ec 100644 --- a/src/intro.js +++ b/src/intro.js @@ -1,2 +1 @@ -// prevent execution of jQuery if included more than once -if ( typeof jQuery == "undefined" ) (function(){ +(function(){ -- cgit v1.2.3