Commit 3c717d2e authored by Timmy Willison's avatar Timmy Willison

Always return jQuery in modules that can be included separately

Conflicts:
	src/attributes.js
	src/data.js
	src/manipulation.js
parent 44596aa8
define([ define([
"./core",
"./attributes/val", "./attributes/val",
"./attributes/attr", "./attributes/attr",
"./attributes/prop", "./attributes/prop",
"./attributes/classes" "./attributes/classes"
]); ], 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;
}); });
...@@ -640,4 +640,5 @@ jQuery.each({ ...@@ -640,4 +640,5 @@ jQuery.each({
} }
}); });
return jQuery;
}); });
...@@ -330,4 +330,5 @@ jQuery.fn.extend({ ...@@ -330,4 +330,5 @@ jQuery.fn.extend({
} }
}); });
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;
}); });
...@@ -635,5 +635,5 @@ jQuery.fx.speeds = { ...@@ -635,5 +635,5 @@ jQuery.fx.speeds = {
_default: 400 _default: 400
}; };
return jQuery;
}); });
...@@ -1005,4 +1005,5 @@ jQuery.fn.extend({ ...@@ -1005,4 +1005,5 @@ jQuery.fn.extend({
} }
}); });
return jQuery;
}); });
...@@ -745,5 +745,5 @@ jQuery.extend({ ...@@ -745,5 +745,5 @@ jQuery.extend({
} }
}); });
return jQuery;
}); });
...@@ -182,4 +182,5 @@ jQuery.each( {scrollLeft: "pageXOffset", scrollTop: "pageYOffset"}, function( me ...@@ -182,4 +182,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;
}); });
...@@ -285,4 +285,6 @@ function winnow( elements, qualifier, not ) { ...@@ -285,4 +285,6 @@ function winnow( elements, qualifier, not ) {
return ( jQuery.inArray( elem, qualifier ) >= 0 ) !== not; return ( jQuery.inArray( elem, qualifier ) >= 0 ) !== not;
}); });
} }
return jQuery;
}); });
...@@ -68,4 +68,6 @@ jQuery.fn.extend({ ...@@ -68,4 +68,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