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

@ -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.