Przeglądaj źródła

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 lat temu
rodzic
commit
764834197e
1 zmienionych plików z 2 dodań i 2 usunięć
  1. +2
    -2
      R/ermoji_gadget.R

+ 2
- 2
R/ermoji_gadget.R Wyświetl plik

}) })


this_emoji_name <- reactive({ 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), ":") paste0(":", gsub(" ", "_", name), ":")
}) })



Ładowanie…
Anuluj
Zapisz