Commit 2e23d016 authored by John Resig's avatar John Resig

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

parent c9511ef9
...@@ -28,7 +28,7 @@ window.undefined = window.undefined; ...@@ -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) { ...@@ -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" )
......
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