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 11:39:02 -04:00
parent 3b53b75160
commit cd4a9cd7fa
8 changed files with 136 additions and 124 deletions

View File

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

View File

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

View File

@ -5,6 +5,7 @@ define([
"./attributes/classes",
"./attributes/val"
], 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;
});