Sfoglia il codice sorgente

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 anni fa
parent
commit
764834197e
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. +2
    -2
      R/ermoji_gadget.R

+ 2
- 2
R/ermoji_gadget.R Vedi File

@@ -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), ":")
})


Loading…
Annulla
Salva