From: jeresig Date: Thu, 9 Sep 2010 12:23:10 +0000 (-0400) Subject: Make sure that jQuery is being exposed outside of core (this will be stripped during... X-Git-Tag: 1.4.3rc1~122 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=2663041924af36a26a30e60da5d97e2ab9fed5ec;p=jquery.git Make sure that jQuery is being exposed outside of core (this will be stripped during the build process). Follow-up to #7011. --- 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; })();