discourse/discourse — pull request #2339 by vikhyat (2014-05-14 16:17:01+00:00)
Title: Partially convert poll plugin to use ES6 modules

I had trouble converting poll_ui.js to ES6 because the transpiler doesn't seem to handle non-module ES6 files very well, I found that the code was being wrapped in some AMD stuff and wasn't being executed. Will need to sort that out but I figured this was a decent start.

cc @eviltrout @ligthyear