const internals = {};
-export default Vue.component('posts', {
+/**
+ * The status class, renders the winner during the poll stage, and a
+ * message while waiting
+ *
+ * @class StatusComponent
+ */
+export default Vue.component('status', {
template: '<div class="status-widget">' +
'<transition name="fade">' +
'<div v-if="state === 0" class="waiting-message">Waiting</div>' +