Browse Source

Add unofficial 🤓 gitmoji (cf. https://github.com/carloscuesta/gitmoji/issues/214)

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

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