From c6425032e13c139bedd0546119f6ed1c93365822 Mon Sep 17 00:00:00 2001 From: Ben Beltran Date: Wed, 30 Aug 2017 00:26:01 -0500 Subject: Add jsdoc, fix linter --- lib/components/status.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'lib/components/status.js') 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: '
' + '' + '
Waiting
' + -- cgit