2013-11-19 22:38:21 -05:00
|
|
|
# name: emoji
|
|
|
|
# about: emoji support for Discourse
|
|
|
|
# version: 0.1
|
|
|
|
# authors: Sam Saffron, Robin Ward
|
|
|
|
|
|
|
|
register_asset('javascripts/emoji.js.erb', :server_side)
|
|
|
|
register_asset('stylesheets/emoji.css')
|
2013-12-12 10:42:27 -05:00
|
|
|
|
|
|
|
after_initialize do
|
|
|
|
|
|
|
|
# whitelist emojis so that new user can post emojis
|
|
|
|
Post::white_listed_image_classes << "emoji"
|
|
|
|
|
|
|
|
end
|