REFACTOR: removes unreachable code (#9665)

* REFACTOR: removes unreachable code

* this one too
This commit is contained in:
Joffrey JAFFEUX 2020-05-07 16:24:54 +02:00 committed by GitHub
parent ac4251fc9d
commit 01272f2085
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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) {