Moved $ alias more to the top (address #137)

This commit is contained in:
Jörn Zaefferer 2006-11-30 21:12:15 +00:00
parent dc6f9cfc9c
commit 68313e7748

View file

@ -69,6 +69,9 @@ var jQuery = function(a,c) {
if ( typeof $ != "undefined" ) if ( typeof $ != "undefined" )
jQuery._$ = $; jQuery._$ = $;
// Map the jQuery namespace to the '$' one
var $ = jQuery;
/** /**
* This function accepts a string containing a CSS selector, * This function accepts a string containing a CSS selector,
* basic XPath, or raw HTML, which is then used to match a set of elements. * basic XPath, or raw HTML, which is then used to match a set of elements.
@ -181,9 +184,6 @@ if ( typeof $ != "undefined" )
* @type jQuery * @type jQuery
*/ */
// Map the jQuery namespace to the '$' one
var $ = jQuery;
jQuery.fn = jQuery.prototype = { jQuery.fn = jQuery.prototype = {
/** /**
* The current version of jQuery. * The current version of jQuery.