summaryrefslogtreecommitdiff
path: root/app/helpers/emoji_helper.rb
diff options
context:
space:
mode:
authorEric Eastwood <contact@ericeastwood.com>2017-02-27 22:44:34 -0600
committerEric Eastwood <contact@ericeastwood.com>2017-03-06 12:54:46 -0600
commite6fc0207cb37666cdf606c03641f2afbb5646213 (patch)
tree8a596255b77da1b3e8a5a6349a80fb72aa8ac678 /app/helpers/emoji_helper.rb
parentf911b948e9b376e65f5d5bf7e6d09b32e3c995c8 (diff)
downloadgitlab-ce-e6fc0207cb37666cdf606c03641f2afbb5646213.tar.gz
Use native unicode emojis
- gl_emoji for falling back to image/css-sprite when the browser doesn't support an emoji - Markdown rendering (Banzai filter) - Autocomplete - Award emoji menu - Perceived perf - Immediate response because we now build client-side - Update `digests.json` generation in gemojione rake task to be more useful and include `unicodeVersion` MR: !9437 See issues - #26371 - #27250 - #22474
Diffstat (limited to 'app/helpers/emoji_helper.rb')
-rw-r--r--app/helpers/emoji_helper.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/helpers/emoji_helper.rb b/app/helpers/emoji_helper.rb
new file mode 100644
index 00000000000..482f68f412b
--- /dev/null
+++ b/app/helpers/emoji_helper.rb
@@ -0,0 +1,5 @@
+module EmojiHelper
+ def emoji_icon(*args)
+ raw Gitlab::Emoji.gl_emoji_tag(*args)
+ end
+end