From: Jörn Zaefferer Date: Thu, 30 Nov 2006 21:12:15 +0000 (+0000) Subject: Moved $ alias more to the top (address #137) X-Git-Url: http://git.asbjorn.biz/?a=commitdiff_plain;h=68313e77488d98d7419e87c7090d4ec9b9d4882b;hp=dc6f9cfc9cd0e2393b8f3087d8fcfa8e03260d4c;p=jquery.git Moved $ alias more to the top (address #137) --- diff --git a/src/jquery/jquery.js b/src/jquery/jquery.js index 4164f63..e12245c 100644 --- a/src/jquery/jquery.js +++ b/src/jquery/jquery.js @@ -68,6 +68,9 @@ var jQuery = function(a,c) { // Map over the $ in case of overwrite if ( typeof $ != "undefined" ) jQuery._$ = $; + +// Map the jQuery namespace to the '$' one +var $ = jQuery; /** * This function accepts a string containing a CSS selector, @@ -181,9 +184,6 @@ if ( typeof $ != "undefined" ) * @type jQuery */ -// Map the jQuery namespace to the '$' one -var $ = jQuery; - jQuery.fn = jQuery.prototype = { /** * The current version of jQuery.