diff options
Diffstat (limited to 'src/deprecated.js')
-rw-r--r-- | src/deprecated.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/deprecated.js b/src/deprecated.js index 722edb006..40f8dd6cd 100644 --- a/src/deprecated.js +++ b/src/deprecated.js @@ -1,6 +1,11 @@ // 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; // })(); |