Skip to content

Commit

Permalink
Core: Fix code style to pacify jscs
Browse files Browse the repository at this point in the history
  • Loading branch information
tyomitch committed Dec 9, 2021
1 parent 31ea8ff commit e87008c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core.js
Expand Up @@ -1032,7 +1032,7 @@ $.extend( $.validator, {
// meta-characters that should be escaped in order to be used with JQuery
// as a literal part of a name/id or any selector.
escapeCssMeta: function( string ) {
if (string === undefined) return "";
if ( string === undefined ) { return ""; }
return string.replace( /([\\!"#$%&'()*+,./:;<=>?@\[\]^`{|}~])/g, "\\$1" );
},

Expand Down

0 comments on commit e87008c

Please sign in to comment.