mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 08:56:36 +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}'>`
|
} 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
Block a user