]> source.dussan.org Git - jquery.git/commitdiff
Moved $ alias more to the top (address #137)
authorJörn Zaefferer <joern.zaefferer@gmail.com>
Thu, 30 Nov 2006 21:12:15 +0000 (21:12 +0000)
committerJörn Zaefferer <joern.zaefferer@gmail.com>
Thu, 30 Nov 2006 21:12:15 +0000 (21:12 +0000)
src/jquery/jquery.js

index 4164f639087cfc6afab5190a8e01e90c35ed96f7..e12245c05616bd63af54e03f4f5313e1de0319b8 100644 (file)
@@ -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.