Ver código fonte

Use first alias always for :emoji_name:

This seems to match GitHub etc. better than emo::jis$name
tags/v0.1.1
Garrick Aden-Buie 8 anos atrás
pai
commit
764834197e
1 arquivos alterados com 2 adições e 2 exclusões
  1. +2
    -2
      R/ermoji_gadget.R

+ 2
- 2
R/ermoji_gadget.R Ver arquivo

@@ -55,8 +55,8 @@ ermoji_gadget <- function() {
})

this_emoji_name <- reactive({
name <- this_emoji()$name
if (grepl(":", name)) name <- this_emoji()$aliases[[1]][1]
# name <- this_emoji()$name
name <- this_emoji()$aliases[[1]][1]
paste0(":", gsub(" ", "_", name), ":")
})


Carregando…
Cancelar
Salvar