Skip to content
Permalink
Browse files
Make sure that jQuery is being exposed outside of core (this will be …
…stripped during the build process). Follow-up to #7011.
  • Loading branch information
jeresig committed Sep 9, 2010
1 parent acb162a commit 2663041
Showing 1 changed file with 2 additions and 2 deletions.
@@ -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;

})();

0 comments on commit 2663041

Please sign in to comment.