aboutsummaryrefslogtreecommitdiff
path: root/src/quiz-bunny/static/main.js
diff options
context:
space:
mode:
authorMark Powers <markppowers0@gmail.com>2020-04-19 12:48:46 -0500
committerMark Powers <markppowers0@gmail.com>2020-04-19 12:48:46 -0500
commitde1eda15955f5d6ee311475355b886214d43f53c (patch)
treed4cdebb46869c115f982215780647f9439bf5e8e /src/quiz-bunny/static/main.js
parent91da735599e1e941fc866a7b9818c4ff16536086 (diff)
Add prompt and add waiting for list
Diffstat (limited to 'src/quiz-bunny/static/main.js')
-rw-r--r--src/quiz-bunny/static/main.js3
1 files changed, 3 insertions, 0 deletions
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) {