diff options
author | Arinde Eniola <eniolaarinde1@gmail.com> | 2016-04-25 11:09:39 +0300 |
---|---|---|
committer | Zeger-Jan van de Weg <zegerjan@gitlab.com> | 2016-05-06 11:47:12 +0300 |
commit | 4eb16290e4e95c0a9bcf3d01ecc8060d91eec021 (patch) | |
tree | 6f978f35c25d33e567e57fc22beb92b5b2f8c931 /app/assets/javascripts/lib | |
parent | 3bdc57f0a710b3769381ecad7ea4098223ecff56 (diff) |
move frontend logic from previous MR to new MR
Diffstat (limited to 'app/assets/javascripts/lib')
-rw-r--r-- | app/assets/javascripts/lib/emoji_aliases.js.coffee.erb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/app/assets/javascripts/lib/emoji_aliases.js.coffee.erb b/app/assets/javascripts/lib/emoji_aliases.js.coffee.erb new file mode 100644 index 00000000000..e005ab3684e --- /dev/null +++ b/app/assets/javascripts/lib/emoji_aliases.js.coffee.erb @@ -0,0 +1,9 @@ +((w) -> + + w.gl ?= {} + w.gl.emoji ?= {} + + w.gl.emoji.emojiAliases = -> + JSON.parse('<%= Gitlab::AwardEmoji.aliases.to_json %>') + +) window
\ No newline at end of file |