Commit bddd1837 authored by John Resig's avatar John Resig

Moved exposing window.jQuery and window.$ to the end of the jQuery file (helps...

Moved exposing window.jQuery and window.$ to the end of the jQuery file (helps some compatibility cases with older version of Prototype). Fixes ticket #4834.
parent d6991fa2
...@@ -39,9 +39,6 @@ var jQuery = function( selector, context ) { ...@@ -39,9 +39,6 @@ var jQuery = function( selector, context ) {
push = Array.prototype.push, push = Array.prototype.push,
slice = Array.prototype.slice; slice = Array.prototype.slice;
// Expose jQuery to the global object
window.jQuery = window.$ = jQuery;
jQuery.fn = jQuery.prototype = { jQuery.fn = jQuery.prototype = {
init: function( selector, context ) { init: function( selector, context ) {
var match, elem, ret; var match, elem, ret;
......
// Expose jQuery to the global object
window.jQuery = window.$ = jQuery;
})(window); })(window);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment