Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Always return jQuery in modules that can be included separately
  • Loading branch information
timmywil committed Sep 9, 2013
1 parent 99c123b commit b534ee2
Show file tree
Hide file tree
Showing 14 changed files with 24 additions and 2 deletions.
6 changes: 5 additions & 1 deletion src/attributes.js
@@ -1,6 +1,10 @@
define([
"./core",
"./attributes/attr",
"./attributes/prop",
"./attributes/classes",
"./attributes/val"
]);
], function( jQuery ) {
// Return jQuery for attributes-only inclusion
return jQuery;
});
1 change: 1 addition & 0 deletions src/callbacks.js
Expand Up @@ -201,4 +201,5 @@ jQuery.Callbacks = function( options ) {
return self;
};

return jQuery;
});
1 change: 1 addition & 0 deletions src/css.js
Expand Up @@ -529,4 +529,5 @@ jQuery.each({
}
});

return jQuery;
});
1 change: 1 addition & 0 deletions src/data.js
Expand Up @@ -171,4 +171,5 @@ function dataAttr( elem, key, data ) {
return data;
}

return jQuery;
});
2 changes: 2 additions & 0 deletions src/deferred.js
Expand Up @@ -144,4 +144,6 @@ jQuery.extend({
return deferred.promise();
}
});

return jQuery;
});
2 changes: 2 additions & 0 deletions src/dimensions.js
Expand Up @@ -43,4 +43,6 @@ jQuery.each( { Height: "height", Width: "width" }, function( name, type ) {
};
});
});

return jQuery;
});
2 changes: 1 addition & 1 deletion src/effects.js
Expand Up @@ -627,5 +627,5 @@ jQuery.fx.speeds = {
_default: 400
};


return jQuery;
});
1 change: 1 addition & 0 deletions src/event.js
Expand Up @@ -844,4 +844,5 @@ jQuery.fn.extend({
}
});

return jQuery;
});
2 changes: 2 additions & 0 deletions src/manipulation.js
Expand Up @@ -580,4 +580,6 @@ function fixInput( src, dest ) {
dest.defaultValue = src.defaultValue;
}
}

return jQuery;
});
1 change: 1 addition & 0 deletions src/offset.js
Expand Up @@ -178,4 +178,5 @@ jQuery.each( {scrollLeft: "pageXOffset", scrollTop: "pageYOffset"}, function( me
};
});

return jQuery;
});
1 change: 1 addition & 0 deletions src/queue.js
Expand Up @@ -138,4 +138,5 @@ jQuery.fn.extend({
}
});

return jQuery;
});
2 changes: 2 additions & 0 deletions src/serialize.js
Expand Up @@ -104,4 +104,6 @@ function buildParams( prefix, obj, traditional, add ) {
add( prefix, obj );
}
}

return jQuery;
});
2 changes: 2 additions & 0 deletions src/traversing.js
Expand Up @@ -286,4 +286,6 @@ function winnow( elements, qualifier, not ) {
return ( indexOf.call( qualifier, elem ) >= 0 ) !== not;
});
}

return jQuery;
});
2 changes: 2 additions & 0 deletions src/wrap.js
Expand Up @@ -71,4 +71,6 @@ jQuery.fn.extend({
}).end();
}
});

return jQuery;
});

0 comments on commit b534ee2

Please sign in to comment.