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
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue