mirror of
https://github.com/mastodon/mastodon.git
synced 2025-01-10 04:06:27 +01:00
Remove unused JSON constant from emoji utilities
The unused constant `_JSON` was removed from the `emoji_utils.ts` file. This decluttering enhances the manageability and readability of the code.
This commit is contained in:
parent
a172892470
commit
9d94b32448
@ -40,8 +40,6 @@ const buildSearch = (data: Data) => {
|
|||||||
return search.join(',');
|
return search.join(',');
|
||||||
};
|
};
|
||||||
|
|
||||||
const _JSON = JSON;
|
|
||||||
|
|
||||||
const COLONS_REGEX = /^(?::([^:]+):)(?::skin-tone-(\d):)?$/;
|
const COLONS_REGEX = /^(?::([^:]+):)(?::skin-tone-(\d):)?$/;
|
||||||
const SKINS = ['1F3FA', '1F3FB', '1F3FC', '1F3FD', '1F3FE', '1F3FF'];
|
const SKINS = ['1F3FA', '1F3FB', '1F3FC', '1F3FD', '1F3FE', '1F3FF'];
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user