Moved $ alias more to the top (address #137)
This commit is contained in:
parent
dc6f9cfc9c
commit
68313e7748
6
src/jquery/jquery.js
vendored
6
src/jquery/jquery.js
vendored
|
@ -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.
|
||||||
|
|
Loading…
Reference in a new issue