diff options
author | silverwind <me@silverwind.io> | 2020-10-21 13:02:24 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-21 19:02:24 +0800 |
commit | 58e1e5ba13a4a0e134afea1b4010fa363b27e38e (patch) | |
tree | 549e5d48edd444144803a8f729386b0671e18bdd /web_src/js/features/emoji.js | |
parent | 965861043ae4daf7ae50460edf5533e52980bdb1 (diff) | |
download | gitea-58e1e5ba13a4a0e134afea1b4010fa363b27e38e.tar.gz gitea-58e1e5ba13a4a0e134afea1b4010fa363b27e38e.zip |
Update some JS dependencies (#13222)
* Update some JS dependencies
- Update selective dependencies that are compatible with webpack 4. We
can not upgrade to webpack 5 yet because `license-webpack-plugin` is
incompatible.
- Enable a few new eslint rules and fix new issues
* fix comment
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Co-authored-by: zeripath <art27@cantab.net>
Diffstat (limited to 'web_src/js/features/emoji.js')
-rw-r--r-- | web_src/js/features/emoji.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web_src/js/features/emoji.js b/web_src/js/features/emoji.js index 51d8801dc8..0da61c4d56 100644 --- a/web_src/js/features/emoji.js +++ b/web_src/js/features/emoji.js @@ -15,7 +15,7 @@ export const emojiKeys = Object.keys(tempMap).sort((a, b) => { return a.localeCompare(b); }); -export const emojiMap = {}; +const emojiMap = {}; for (const key of emojiKeys) { emojiMap[key] = tempMap[key]; } |