Make sure that jQuery is being exposed outside of core (this will be stripped during the build process). Follow-up to #7011.

This commit is contained in:
jeresig 2010-09-09 08:23:10 -04:00
parent acb162a697
commit 2663041924

View file

@ -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;
})();