Commit 68313e77 authored by Jörn Zaefferer's avatar Jörn Zaefferer

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

parent dc6f9cfc
...@@ -68,6 +68,9 @@ var jQuery = function(a,c) { ...@@ -68,6 +68,9 @@ var jQuery = function(a,c) {
// Map over the $ in case of overwrite // Map over the $ in case of overwrite
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,
...@@ -181,9 +184,6 @@ if ( typeof $ != "undefined" ) ...@@ -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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment