habitica-markdown-emoji
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -6,10 +6,15 @@ 'use strict'; | ||
var shortcuts = JSON.parse(JSON.stringify(unicode)); | ||
var shortcuts = {}; | ||
Object.keys(vendoredShortcuts).forEach(function appendShortcuts (key) { | ||
shortcuts[key] = shortcuts[key] || []; | ||
function addValues (set) { | ||
Object.keys(set).forEach(function addKey (key) { | ||
shortcuts[key] = shortcuts[key] || []; | ||
shortcuts[key] = shortcuts[key].concat(vendoredShortcuts[key]); | ||
}); | ||
shortcuts[key] = shortcuts[key].concat(set[key]); | ||
}); | ||
} | ||
addValues(unicode); | ||
addValues(vendoredShortcuts); | ||
module.exports = shortcuts; |
{ | ||
"name": "habitica-markdown-emoji", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Emoji set for Habitica.", | ||
@@ -30,3 +30,3 @@ "main": "index.js", | ||
"eslint-plugin-mocha": "^2.2.0", | ||
"habitica-markdown": "^1.1.4", | ||
"markdown-it": "^6.0.0", | ||
"mocha": "^2.4.5" | ||
@@ -33,0 +33,0 @@ }, |
4095
56