X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=src%2Fjquery%2Fjquery.js;h=7ac7ee6118c2e9bd547252eaf93c5e0b121fb03e;hb=2e23d0168e6d820a0264792ef256fb33ec9bb700;hp=6b05a06059f387ea41a45df96bb6cb9bc3b89678;hpb=c9511ef948ec3fd58bfd0af8898ef66abdc80255;p=jquery.git diff --git a/src/jquery/jquery.js b/src/jquery/jquery.js index 6b05a06..7ac7ee6 100644 --- a/src/jquery/jquery.js +++ b/src/jquery/jquery.js @@ -28,7 +28,7 @@ window.undefined = window.undefined; * @name jQuery * @cat Core */ -function jQuery(a,c) { +var jQuery = function(a,c) { // Shortcut for document ready (because $(document).each() is silly) if ( a && typeof a == "function" && jQuery.fn.ready ) @@ -71,7 +71,7 @@ function jQuery(a,c) { this.each(fn); return this; -} +}; // Map over the $ in case of overwrite if ( typeof $ != "undefined" )