aboutsummaryrefslogtreecommitdiffstats
path: root/src/intro.js
diff options
context:
space:
mode:
authorJohn Resig <jeresig@gmail.com>2007-08-22 06:51:41 +0000
committerJohn Resig <jeresig@gmail.com>2007-08-22 06:51:41 +0000
commitf53aa62fd3f08ad7a05e99e3836132216a8d5c7d (patch)
treeef0e2ee722a0f86a26a732acb71d8204fee49111 /src/intro.js
parent3fb4779abbd4c8b12efda6a5648da8a7e002cab2 (diff)
downloadjquery-f53aa62fd3f08ad7a05e99e3836132216a8d5c7d.tar.gz
jquery-f53aa62fd3f08ad7a05e99e3836132216a8d5c7d.zip
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).
Diffstat (limited to 'src/intro.js')
-rw-r--r--src/intro.js3
1 files changed, 1 insertions, 2 deletions
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(){