All non-var modules should not indent in their AMD wrappers (just for prettier builds). No functionality changes.

This commit is contained in:
Timmy Willison 2013-09-09 12:07:40 -04:00
parent 2063d6c189
commit 6bc8059717
8 changed files with 165 additions and 153 deletions

View File

@ -38,4 +38,5 @@ define([
};
return jQuery.parseJSON;
});

View File

@ -1,6 +1,7 @@
define([
"../core"
], function( jQuery ) {
// Cross-browser xml parsing
jQuery.parseXML = function( data ) {
var xml, tmp;
@ -26,4 +27,5 @@ define([
};
return jQuery.parseXML;
});

View File

@ -5,6 +5,7 @@ define([
"./attributes/prop",
"./attributes/classes"
], function( jQuery ) {
// Return jQuery for attributes-only inclusion
return jQuery;
});

View File

@ -1,6 +1,7 @@
define([
"../core"
], function( jQuery ) {
// Multifunctional method to get and set values of a collection
// The value/s can optionally be executed if it's a function
var access = jQuery.access = function( elems, fn, key, value, chainable, emptyGet, raw ) {
@ -55,4 +56,5 @@ define([
};
return access;
});

View File

@ -35,4 +35,5 @@ define([
};
return jQuery.parseHTML;
});

View File

@ -24,4 +24,5 @@ define([
};
return jQuery.swap;
});

View File

@ -3,9 +3,11 @@ define([
"../selector",
"../effects"
], function( jQuery ) {
jQuery.expr.filters.animated = function( elem ) {
return jQuery.grep(jQuery.timers, function( fn ) {
return elem === fn.elem;
}).length;
};
});

View File

@ -1,6 +1,7 @@
define([
"../ajax"
], function( jQuery ) {
jQuery._evalUrl = function( url ) {
return jQuery.ajax({
url: url,
@ -13,4 +14,5 @@ define([
};
return jQuery._evalUrl;
});