mirror of
https://github.com/thelounge/thelounge.git
synced 2026-03-14 14:35:50 +01:00
Use some ES6/Node v4-only syntax when possible
This commit is contained in:
parent
6013a02fc2
commit
416f45d1e3
27 changed files with 70 additions and 87 deletions
|
|
@ -16,7 +16,7 @@ request.get({
|
|||
const shortname = prepareShortName(emojiStrategy[key].shortname);
|
||||
|
||||
// Skip tones, at least for now
|
||||
if (shortname.indexOf("tone") > -1) {
|
||||
if (shortname.includes("tone")) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue