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 2663041924af36a26a30e60da5d97e2ab9fed5ec
Showing with 2 additions and 2 deletions.
  1. +2 −2 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;

})();

0 comments on commit 2663041

Please sign in to comment.
You can’t perform that action at this time.