Skip to content
Permalink
Browse files

Moved exposing window.jQuery and window.$ to the end of the jQuery fi…

…le (helps some compatibility cases with older version of Prototype). Fixes ticket #4834.
  • Loading branch information
jeresig committed Aug 10, 2009
1 parent d6991fa commit bddd1837bb512b0ed537fbbdecf3ac3f6067adba
Showing with 3 additions and 3 deletions.
  1. +0 −3 src/core.js
  2. +3 −0 src/outro.js
@@ -39,9 +39,6 @@ var jQuery = function( selector, context ) {
push = Array.prototype.push,
slice = Array.prototype.slice;

// Expose jQuery to the global object
window.jQuery = window.$ = jQuery;

jQuery.fn = jQuery.prototype = {
init: function( selector, context ) {
var match, elem, ret;
@@ -1 +1,4 @@
// Expose jQuery to the global object
window.jQuery = window.$ = jQuery;

})(window);

0 comments on commit bddd183

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