]> cat aescling's git repositories - mastodon.git/commit
Use the same emoji data on the frontend and backend (#4284)
authorEugen Rochko <eugen@zeonfederated.com>
Fri, 21 Jul 2017 02:27:40 +0000 (04:27 +0200)
committerGitHub <noreply@github.com>
Fri, 21 Jul 2017 02:27:40 +0000 (04:27 +0200)
commita390abdefb5d741ba4375858a79fbf3eaf30f06d
treeac1d1e4f0fdd4bc39139f2732cfea182e9aa2236
parentc1bc5e14ebbecd8ffc6b4188fbf608e11f64422e
Use the same emoji data on the frontend and backend (#4284)

* Use the same emoji data on the frontend and backend

* Move emoji.json to repository, add tests

This way you don't need to install node dependencies if you only
want to run Ruby code
Gemfile
app/helpers/emoji_helper.rb
app/lib/emoji.rb [new file with mode: 0644]
lib/assets/emoji.json [new file with mode: 0644]
spec/lib/emoji_spec.rb [new file with mode: 0644]