From f0f334a2a795bfdc2a772af7398c09ea1d050770 Mon Sep 17 00:00:00 2001 From: LaurentBarbareau Date: Mon, 29 Aug 2016 14:24:15 +0200 Subject: [PATCH] Warning message: commas replaced by semi-colons Consistency with https://github.com/jquery/jquery-migrate/pull/222/commits/cfc0f4ef1028a4d9e423e2ace258a5355b875c3d --- warnings.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/warnings.md b/warnings.md index ce989269..c73409eb 100644 --- a/warnings.md +++ b/warnings.md @@ -79,7 +79,7 @@ This is _not_ a warning, but a console log message the plugin shows when it firs **Solution**: Replace any use of `.andSelf()` with `.addBack()`. -### JQMIGRATE: jQuery.fn.size() is deprecated and removed, use the .length property +### JQMIGRATE: jQuery.fn.size() is deprecated and removed; use the .length property **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. @@ -173,8 +173,8 @@ See jQuery-ui [commit](https://github.com/jquery/jquery-ui/commit/c0093b599fcd58 **Solution**: Replace all uses of `jQuery.unique` with `jQuery.uniqueSort` which is the same function with a better name. -### JQMIGRATE: jQuery.expr[':'] is deprecated, use jQuery.expr.pseudos -### JQMIGRATE: jQuery.expr.filters is deprecated, use jQuery.expr.pseudos +### JQMIGRATE: jQuery.expr[':'] is deprecated; use jQuery.expr.pseudos +### JQMIGRATE: jQuery.expr.filters is deprecated; use jQuery.expr.pseudos **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.