Make Eslint happy.

This commit is contained in:
Guo Xiang Tan 2017-01-31 10:45:04 +08:00
parent 058df4329d
commit 0f2de4863b
1 changed files with 1 additions and 1 deletions

View File

@ -1,5 +1,5 @@
function escapeRegexp(text) {
return text.replace(/[-/\\^$*+?.()|[\]{}]/g, '\\$&')
return text.replace(/[-/\\^$*+?.()|[\]{}]/g, '\\$&');
}
export function censor(text, censoredWords, censoredPattern) {