mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 06:15:28 +08:00
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}'>`
|
||||
: m;
|
||||
});
|
||||
|
||||
return string;
|
||||
}
|
||||
|
||||
export function performEmojiEscape(string, opts) {
|
||||
|
@ -145,8 +143,6 @@ export function performEmojiEscape(string, opts) {
|
|||
|
||||
return m;
|
||||
});
|
||||
|
||||
return string;
|
||||
}
|
||||
|
||||
export function isCustomEmoji(code, opts) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user