Extract poll plugin controller into an ES6 module.

This commit is contained in:
Vikhyat Korrapati
2014-05-15 23:54:53 +05:30
parent b9e15a240f
commit a0b7637f5e
3 changed files with 46 additions and 43 deletions

View File

@ -142,6 +142,7 @@ after_initialize do
end
# Poll UI.
register_asset "javascripts/poll-controller.js.es6"
register_asset "javascripts/discourse/templates/poll.js.handlebars"
register_asset "javascripts/poll_ui.js"
register_asset "javascripts/poll_bbcode.js", :server_side