Skip to content

Commit

Permalink
Merge branch 'patch-1' of https://github.com/Khaledgarbaya/emojic int…
Browse files Browse the repository at this point in the history
…o new-version
  • Loading branch information
IonicaBizau committed May 15, 2017
2 parents 2d52c7b + 6ff6b1a commit aab8439
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@ const emojic = module.exports = {};
// Append the chars to it
iterateObject(emojis, function (value, name) {

if (process.platform === "win32") {
return "";
}

switch (name) {
case "+1":
name = "thumbs-up";
Expand All @@ -26,7 +22,7 @@ iterateObject(emojis, function (value, name) {
name = "thumbs-down";
break;
}
emojic[camelo(name)] = value.char;
emojic[camelo(name)] = process.platform === "win32" ? "" : value.char;
});

// Free the memory
Expand Down

0 comments on commit aab8439

Please sign in to comment.