mirror of
https://github.com/jquery/jquery.git
synced 2026-02-01 20:55:01 -05:00
Deprecated: Drop size and andSelf methods
Fixes gh-1749 Closes gh-1822
This commit is contained in:
@@ -1,13 +1,2 @@
|
||||
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;
|
||||
|
||||
define(function() {
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user