]> git.r.bdr.sh - rbdr/sorting-hat-renderer/blobdiff - lib/components/status.js
Merge branch 'release/1.0.0'
[rbdr/sorting-hat-renderer] / lib / components / status.js
index 4a8b0991594e22c43de90138fdd8ec8563d503f5..0f79788be6075b0f8d8cf2f86552e3ff1c97b8af 100644 (file)
@@ -3,7 +3,13 @@ import DataService from '../services/data';
 
 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>' +