Commit 12917a6f authored by Kushal Pandya's avatar Kushal Pandya

Merge branch 'jivanvl-replace-underscore-lodash-emoji' into 'master'

Replace underscore for lodash in emoji

Closes #196671

See merge request gitlab-org/gitlab!26412
parents bd48b58a 8930fb42
import _ from 'underscore';
import { uniq } from 'lodash';
import emojiMap from 'emojis/digests.json';
import emojiAliases from 'emojis/aliases.json';
......@@ -18,7 +18,7 @@ export function filterEmojiNames(filter) {
}
export function filterEmojiNamesByAlias(filter) {
return _.uniq(filterEmojiNames(filter).map(name => normalizeEmojiName(name)));
return uniq(filterEmojiNames(filter).map(name => normalizeEmojiName(name)));
}
let emojiCategoryMap;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment