REFACTOR: removes unreachable code (#9665)
* REFACTOR: removes unreachable code * this one too
This commit is contained in:
parent
ac4251fc9d
commit
01272f2085
|
@ -126,8 +126,6 @@ export function performEmojiUnescape(string, opts) {
|
||||||
} alt='${emojiVal}' class='${classes}'>`
|
} alt='${emojiVal}' class='${classes}'>`
|
||||||
: m;
|
: m;
|
||||||
});
|
});
|
||||||
|
|
||||||
return string;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export function performEmojiEscape(string, opts) {
|
export function performEmojiEscape(string, opts) {
|
||||||
|
@ -145,8 +143,6 @@ export function performEmojiEscape(string, opts) {
|
||||||
|
|
||||||
return m;
|
return m;
|
||||||
});
|
});
|
||||||
|
|
||||||
return string;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export function isCustomEmoji(code, opts) {
|
export function isCustomEmoji(code, opts) {
|
||||||
|
|
Loading…
Reference in New Issue