diff options
| author | Ben Beltran <ben@nsovocal.com> | 2017-08-30 00:26:01 -0500 |
|---|---|---|
| committer | Ben Beltran <ben@nsovocal.com> | 2017-08-30 00:26:01 -0500 |
| commit | c6425032e13c139bedd0546119f6ed1c93365822 (patch) | |
| tree | e4c02a7f4d9c650dff91c778eacc0ab80b8aee73 /lib/components/status.js | |
| parent | 11400882a21f3152c586f7f6688664577a190949 (diff) | |
Add jsdoc, fix linter
Diffstat (limited to 'lib/components/status.js')
| -rw-r--r-- | lib/components/status.js | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/components/status.js b/lib/components/status.js index 4a8b099..0f79788 100644 --- a/lib/components/status.js +++ b/lib/components/status.js @@ -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>' + |