diff options
author | jeresig <jeresig@gmail.com> | 2010-09-09 08:23:10 -0400 |
---|---|---|
committer | jeresig <jeresig@gmail.com> | 2010-09-09 08:23:10 -0400 |
commit | 2663041924af36a26a30e60da5d97e2ab9fed5ec (patch) | |
tree | 7c6a6c8a546bd142725f8411de32202a67524bcc | |
parent | acb162a697e672b2b22e64a02e6278baafac5717 (diff) | |
download | jquery-2663041924af36a26a30e60da5d97e2ab9fed5ec.tar.gz jquery-2663041924af36a26a30e60da5d97e2ab9fed5ec.zip |
Make sure that jQuery is being exposed outside of core (this will be stripped during the build process). Follow-up to #7011.
-rw-r--r-- | src/core.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core.js b/src/core.js index 65d32a39c..d6ef236f4 100644 --- a/src/core.js +++ b/src/core.js @@ -1,4 +1,4 @@ -(function() { +var jQuery = (function() { // Define a local copy of jQuery var jQuery = function( selector, context ) { @@ -826,6 +826,6 @@ function doScrollCheck() { } // Expose jQuery to the global object -window.jQuery = window.$ = jQuery; +return window.jQuery = window.$ = jQuery; })(); |