From de1eda15955f5d6ee311475355b886214d43f53c Mon Sep 17 00:00:00 2001 From: Mark Powers Date: Sun, 19 Apr 2020 12:48:46 -0500 Subject: Add prompt and add waiting for list --- src/quiz-bunny/static/main.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/quiz-bunny/static/main.js') diff --git a/src/quiz-bunny/static/main.js b/src/quiz-bunny/static/main.js index cb4740e..a7309bb 100644 --- a/src/quiz-bunny/static/main.js +++ b/src/quiz-bunny/static/main.js @@ -15,6 +15,9 @@ window.onload = function () { interval: undefined }, methods: { + nonReady: function (players) { + return players.filter(player => !player.ready) + }, startStatusLoop: function(){ // event loop that runs while waiting for host to start var loadStatus = function (vue_object) { -- cgit v1.2.3