// The default length of a jQuery object is 0
length: 0,
- // The number of elements contained in the matched element set
- size: function() {
- return this.length;
- },
-
toArray: function() {
return core_slice.call( this );
},
// Limit scope pollution from any deprecated API
// (function() {
+// The number of elements contained in the matched element set
+jQuery.fn.size = function() {
+ return this.length;
+};
+
+jQuery.fn.andSelf = jQuery.fn.addBack;
+
// })();
}
});
-jQuery.fn.andSelf = jQuery.fn.addBack;
-
function sibling( cur, dir ) {
do {
cur = cur[ dir ];