aboutsummaryrefslogtreecommitdiffstats
path: root/src/outro.js
diff options
context:
space:
mode:
authorJohn Resig <jeresig@gmail.com>2009-08-10 21:22:31 +0000
committerJohn Resig <jeresig@gmail.com>2009-08-10 21:22:31 +0000
commitbddd1837bb512b0ed537fbbdecf3ac3f6067adba (patch)
tree6c431471fd5ab22f8c6b2fcfae0af03c87dd67ec /src/outro.js
parentd6991fa273515a8503692324499edcc71b5c3f64 (diff)
downloadjquery-bddd1837bb512b0ed537fbbdecf3ac3f6067adba.tar.gz
jquery-bddd1837bb512b0ed537fbbdecf3ac3f6067adba.zip
Moved exposing window.jQuery and window.$ to the end of the jQuery file (helps some compatibility cases with older version of Prototype). Fixes ticket #4834.
Diffstat (limited to 'src/outro.js')
-rw-r--r--src/outro.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/outro.js b/src/outro.js
index 7773a74fd..5d87b7e7b 100644
--- a/src/outro.js
+++ b/src/outro.js
@@ -1 +1,4 @@
+// Expose jQuery to the global object
+window.jQuery = window.$ = jQuery;
+
})(window);