The code powering m.abunchtell.com https://m.abunchtell.com
25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.
 
 
 
 

12 satır
481 B

  1. // @preval
  2. // Force tree shaking on emojione by exposing just a subset of its functionality
  3. const emojione = require('emojione');
  4. const mappedUnicode = emojione.mapUnicodeToShort();
  5. module.exports.unicodeToFilename = Object.keys(emojione.jsEscapeMap)
  6. .map(unicodeStr => [unicodeStr, mappedUnicode[emojione.jsEscapeMap[unicodeStr]]])
  7. .map(([unicodeStr, shortCode]) => ({ [unicodeStr]: emojione.emojioneList[shortCode].fname }))
  8. .reduce((x, y) => Object.assign(x, y), { });