Procházet zdrojové kódy

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 před 8 roky
rodič
revize
764834197e
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. +2
    -2
      R/ermoji_gadget.R

+ 2
- 2
R/ermoji_gadget.R Zobrazit soubor

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


Načítá se…
Zrušit
Uložit