1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-07-28 15:22:05 +03:00

Strip the emoji meta-data for the data we need

This is done at build time by parsing emojione/emoji.json, stripping it and then writing to ./lib/stripped-emoji.json.
This commit is contained in:
Luke Barnard
2017-06-28 11:35:14 +01:00
parent 8ca3b382ed
commit 2b8da85726
3 changed files with 21 additions and 3 deletions

View File

@ -24,7 +24,7 @@ import sdk from '../index';
import {PillCompletion} from './Components';
import type {SelectionRange, Completion} from './Autocompleter';
import EmojiData from 'emojione/emoji.json';
import EmojiData from '../stripped-emoji.json';
const LIMIT = 20;
const CATEGORY_ORDER = [