aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJörn Zaefferer <joern.zaefferer@gmail.com>2006-11-30 21:12:15 +0000
committerJörn Zaefferer <joern.zaefferer@gmail.com>2006-11-30 21:12:15 +0000
commit68313e77488d98d7419e87c7090d4ec9b9d4882b (patch)
treef0f75cf61799d21c81a9863381c0f57fd6fe5dd8 /src
parentdc6f9cfc9cd0e2393b8f3087d8fcfa8e03260d4c (diff)
downloadjquery-68313e77488d98d7419e87c7090d4ec9b9d4882b.tar.gz
jquery-68313e77488d98d7419e87c7090d4ec9b9d4882b.zip
Moved $ alias more to the top (address #137)
Diffstat (limited to 'src')
-rw-r--r--src/jquery/jquery.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/jquery/jquery.js b/src/jquery/jquery.js
index 4164f6390..e12245c05 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.