Commit b534ee2c authored by Timmy Willison's avatar Timmy Willison

Always return jQuery in modules that can be included separately

parent 99c123b1
define([ define([
"./core",
"./attributes/attr", "./attributes/attr",
"./attributes/prop", "./attributes/prop",
"./attributes/classes", "./attributes/classes",
"./attributes/val" "./attributes/val"
]); ], function( jQuery ) {
// Return jQuery for attributes-only inclusion
return jQuery;
});
...@@ -201,4 +201,5 @@ jQuery.Callbacks = function( options ) { ...@@ -201,4 +201,5 @@ jQuery.Callbacks = function( options ) {
return self; return self;
}; };
return jQuery;
}); });
...@@ -529,4 +529,5 @@ jQuery.each({ ...@@ -529,4 +529,5 @@ jQuery.each({
} }
}); });
return jQuery;
}); });
...@@ -171,4 +171,5 @@ function dataAttr( elem, key, data ) { ...@@ -171,4 +171,5 @@ function dataAttr( elem, key, data ) {
return data; return data;
} }
return jQuery;
}); });
...@@ -144,4 +144,6 @@ jQuery.extend({ ...@@ -144,4 +144,6 @@ jQuery.extend({
return deferred.promise(); return deferred.promise();
} }
}); });
return jQuery;
}); });
...@@ -43,4 +43,6 @@ jQuery.each( { Height: "height", Width: "width" }, function( name, type ) { ...@@ -43,4 +43,6 @@ jQuery.each( { Height: "height", Width: "width" }, function( name, type ) {
}; };
}); });
}); });
return jQuery;
}); });
...@@ -627,5 +627,5 @@ jQuery.fx.speeds = { ...@@ -627,5 +627,5 @@ jQuery.fx.speeds = {
_default: 400 _default: 400
}; };
return jQuery;
}); });
...@@ -844,4 +844,5 @@ jQuery.fn.extend({ ...@@ -844,4 +844,5 @@ jQuery.fn.extend({
} }
}); });
return jQuery;
}); });
...@@ -580,4 +580,6 @@ function fixInput( src, dest ) { ...@@ -580,4 +580,6 @@ function fixInput( src, dest ) {
dest.defaultValue = src.defaultValue; dest.defaultValue = src.defaultValue;
} }
} }
return jQuery;
}); });
...@@ -178,4 +178,5 @@ jQuery.each( {scrollLeft: "pageXOffset", scrollTop: "pageYOffset"}, function( me ...@@ -178,4 +178,5 @@ jQuery.each( {scrollLeft: "pageXOffset", scrollTop: "pageYOffset"}, function( me
}; };
}); });
return jQuery;
}); });
...@@ -138,4 +138,5 @@ jQuery.fn.extend({ ...@@ -138,4 +138,5 @@ jQuery.fn.extend({
} }
}); });
return jQuery;
}); });
...@@ -104,4 +104,6 @@ function buildParams( prefix, obj, traditional, add ) { ...@@ -104,4 +104,6 @@ function buildParams( prefix, obj, traditional, add ) {
add( prefix, obj ); add( prefix, obj );
} }
} }
return jQuery;
}); });
...@@ -286,4 +286,6 @@ function winnow( elements, qualifier, not ) { ...@@ -286,4 +286,6 @@ function winnow( elements, qualifier, not ) {
return ( indexOf.call( qualifier, elem ) >= 0 ) !== not; return ( indexOf.call( qualifier, elem ) >= 0 ) !== not;
}); });
} }
return jQuery;
}); });
...@@ -71,4 +71,6 @@ jQuery.fn.extend({ ...@@ -71,4 +71,6 @@ jQuery.fn.extend({
}).end(); }).end();
} }
}); });
return 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