mirror of https://github.com/xwiki-labs/cryptpad
lint compliance
This commit is contained in:
parent
b780a8eab9
commit
e866ebb17e
|
@ -134,7 +134,7 @@ define([
|
||||||
else {
|
else {
|
||||||
//this is for removing all trailing white characters and unnecessary/redundant emojis
|
//this is for removing all trailing white characters and unnecessary/redundant emojis
|
||||||
name = name.replace(emojiWithZWJRegex, '');
|
name = name.replace(emojiWithZWJRegex, '');
|
||||||
name = name.replace(/[\uFE0F\u200D\u2060]/g, '');
|
name = name.replace(/\uFE0F/g, '').replace(/\u200D/g, '').replace(/\u2060/g, '');
|
||||||
name = name.trim();
|
name = name.trim();
|
||||||
}
|
}
|
||||||
var parts = name.split(/\s+/);
|
var parts = name.split(/\s+/);
|
||||||
|
|
Loading…
Reference in New Issue