You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: warnings.md
+3-3
Original file line number
Diff line number
Diff line change
@@ -79,7 +79,7 @@ This is _not_ a warning, but a console log message the plugin shows when it firs
79
79
80
80
**Solution**: Replace any use of `.andSelf()` with `.addBack()`.
81
81
82
-
### JQMIGRATE: jQuery.fn.size() is deprecated and removed, use the .length property
82
+
### JQMIGRATE: jQuery.fn.size() is deprecated and removed; use the .length property
83
83
84
84
**Cause**: The `.size()` method returns the number of elements in the current jQuery object, but duplicates the more-efficient `.length` property which provides the same functionality. As of jQuery 1.9 the `.length` property is the preferred way to retrieve this value. jQuery 3.0 no longer contains the `.size()` method.
85
85
@@ -173,8 +173,8 @@ See jQuery-ui [commit](https://github.com/jquery/jquery-ui/commit/c0093b599fcd58
173
173
174
174
**Solution**: Replace all uses of `jQuery.unique` with `jQuery.uniqueSort` which is the same function with a better name.
175
175
176
-
### JQMIGRATE: jQuery.expr[':'] is deprecated, use jQuery.expr.pseudos
177
-
### JQMIGRATE: jQuery.expr.filters is deprecated, use jQuery.expr.pseudos
176
+
### JQMIGRATE: jQuery.expr[':'] is deprecated; use jQuery.expr.pseudos
177
+
### JQMIGRATE: jQuery.expr.filters is deprecated; use jQuery.expr.pseudos
178
178
179
179
**Cause:** The standard way to add new custom selectors through jQuery is `jQuery.expr.pseudos`. These two other aliases are deprecated, although they still work as of jQuery 3.0.
0 commit comments