Skip to content

Commit cfc0f4e

Browse files
Traces: commas replaced by semi-columns
Standardization of the trace text shape to facilitate textual search into https://github.com/jquery/jquery-migrate/blob/1.x-stable/warnings.md I arbitrary chose the semi-column as a sentence separator. This is not important, the goal is to be homogeneous between the sources and the documentation, because there is at least one inconsistency with "JQMIGRATE: jQuery.parseJSON is deprecated; use JSON.parse", that I want to fix.
1 parent 057e1f4 commit cfc0f4e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/core.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ for ( findProp in oldFind ) {
6262

6363
// The number of elements contained in the matched element set
6464
jQuery.fn.size = function() {
65-
migrateWarn( "jQuery.fn.size() is deprecated and removed, use the .length property" );
65+
migrateWarn( "jQuery.fn.size() is deprecated and removed; use the .length property" );
6666
return this.length;
6767
};
6868

@@ -90,10 +90,10 @@ jQuery.isNumeric = function( val ) {
9090
};
9191

9292
migrateWarnFunc( jQuery, "unique", jQuery.uniqueSort,
93-
"jQuery.unique is deprecated, use jQuery.uniqueSort" );
93+
"jQuery.unique is deprecated; use jQuery.uniqueSort" );
9494

9595
// Now jQuery.expr.pseudos is the standard incantation
9696
migrateWarnProp( jQuery.expr, "filters", jQuery.expr.pseudos,
97-
"jQuery.expr.filters is deprecated, use jQuery.expr.pseudos" );
97+
"jQuery.expr.filters is deprecated; use jQuery.expr.pseudos" );
9898
migrateWarnProp( jQuery.expr, ":", jQuery.expr.pseudos,
99-
"jQuery.expr[':'] is deprecated, use jQuery.expr.pseudos" );
99+
"jQuery.expr[':'] is deprecated; use jQuery.expr.pseudos" );

0 commit comments

Comments
 (0)