master
KaKi87 10 months ago
parent e5aef7c411
commit 01802ec675
  1. 7
      index.html

@ -297,6 +297,13 @@
colors = (await (await fetch('https://raw.githubusercontent.com/carloscuesta/gitmoji/master/src/components/GitmojiList/emojiColorsMap.js')).text())
.split('\n').filter(line => line.includes(':')).map(item => item.replace(/[\s',;]/g, '').split(':')),
{ gitmojis } = await (await fetch('https://raw.githubusercontent.com/carloscuesta/gitmoji/master/src/data/gitmojis.json')).json();
gitmojis.push(...[
{
emoji: '🤓',
code: ':nerd_face:',
description: 'Improve developer experience'
}
].map(item => ({ ...item, isUnofficial: true })));
gitmojis.forEach(({ emoji, code, description, name, isUnofficial }) => {
const
itemEmoji = document.createElement('span'),

Loading…
Cancel
Save