Guess that was important, after all. Helps IE to map the object correctly.

This commit is contained in:
John Resig 2006-10-15 17:03:08 +00:00
parent c9511ef948
commit 2e23d0168e

View file

@ -28,7 +28,7 @@ window.undefined = window.undefined;
* @name jQuery * @name jQuery
* @cat Core * @cat Core
*/ */
function jQuery(a,c) { var jQuery = function(a,c) {
// Shortcut for document ready (because $(document).each() is silly) // Shortcut for document ready (because $(document).each() is silly)
if ( a && typeof a == "function" && jQuery.fn.ready ) if ( a && typeof a == "function" && jQuery.fn.ready )
@ -71,7 +71,7 @@ function jQuery(a,c) {
this.each(fn); this.each(fn);
return this; return this;
} };
// Map over the $ in case of overwrite // Map over the $ in case of overwrite
if ( typeof $ != "undefined" ) if ( typeof $ != "undefined" )