git.asbjorn.biz
/
jquery.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dc6f9cf
)
Moved $ alias more to the top (address #137)
author
Jörn Zaefferer
<joern.zaefferer@gmail.com>
Thu, 30 Nov 2006 21:12:15 +0000
(21:12 +0000)
committer
Jörn Zaefferer
<joern.zaefferer@gmail.com>
Thu, 30 Nov 2006 21:12:15 +0000
(21:12 +0000)
src/jquery/jquery.js
patch
|
blob
|
history
diff --git
a/src/jquery/jquery.js
b/src/jquery/jquery.js
index
4164f63
..
e12245c
100644
(file)
--- 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.