mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
217cbb7109
Conflicts: Gruntfile.js README.md src/ajax.js src/ajax/xhr.js src/attributes.js src/core.js src/css.js src/data.js src/effects.js src/event.js src/manipulation.js src/offset.js src/selector-native.js src/traversing.js test/unit/core.js test/unit/data.js
12 lines
221 B
JavaScript
12 lines
221 B
JavaScript
define([
|
|
"./core",
|
|
"./traversing"
|
|
], function( jQuery ) {
|
|
// The number of elements contained in the matched element set
|
|
jQuery.fn.size = function() {
|
|
return this.length;
|
|
};
|
|
|
|
jQuery.fn.andSelf = jQuery.fn.addBack;
|
|
});
|