Always return jQuery in modules that can be included separately

Conflicts:
	src/attributes.js
	src/data.js
	src/manipulation.js
This commit is contained in:
Timmy Willison 2013-09-08 21:25:27 -04:00
parent 44596aa8f2
commit 3c717d2e6a
14 changed files with 23 additions and 3 deletions

View File

@ -1,6 +1,10 @@
define([
"./core",
"./attributes/val",
"./attributes/attr",
"./attributes/prop",
"./attributes/classes"
]);
], function( jQuery ) {
// Return jQuery for attributes-only inclusion
return jQuery;
});

View File

@ -201,4 +201,5 @@ jQuery.Callbacks = function( options ) {
return self;
};
return jQuery;
});

View File

@ -640,4 +640,5 @@ jQuery.each({
}
});
return jQuery;
});

View File

@ -330,4 +330,5 @@ jQuery.fn.extend({
}
});
return jQuery;
});

View File

@ -144,4 +144,6 @@ jQuery.extend({
return deferred.promise();
}
});
return jQuery;
});

View File

@ -43,4 +43,6 @@ jQuery.each( { Height: "height", Width: "width" }, function( name, type ) {
};
});
});
return jQuery;
});

2
src/effects.js vendored
View File

@ -635,5 +635,5 @@ jQuery.fx.speeds = {
_default: 400
};
return jQuery;
});

View File

@ -1005,4 +1005,5 @@ jQuery.fn.extend({
}
});
return jQuery;
});

View File

@ -745,5 +745,5 @@ jQuery.extend({
}
});
return jQuery;
});

View File

@ -182,4 +182,5 @@ jQuery.each( {scrollLeft: "pageXOffset", scrollTop: "pageYOffset"}, function( me
};
});
return jQuery;
});

View File

@ -138,4 +138,5 @@ jQuery.fn.extend({
}
});
return jQuery;
});

View File

@ -104,4 +104,6 @@ function buildParams( prefix, obj, traditional, add ) {
add( prefix, obj );
}
}
return jQuery;
});

View File

@ -285,4 +285,6 @@ function winnow( elements, qualifier, not ) {
return ( jQuery.inArray( elem, qualifier ) >= 0 ) !== not;
});
}
return jQuery;
});

View File

@ -68,4 +68,6 @@ jQuery.fn.extend({
}).end();
}
});
return jQuery;
});