From ac3ddbab70a4a49b16e4e5a1fe6440ac2bb1a2f9 Mon Sep 17 00:00:00 2001 From: ansuz Date: Mon, 24 Oct 2016 15:10:49 +0200 Subject: [PATCH] expose userList for later usage --- www/poll/main.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/www/poll/main.js b/www/poll/main.js index a586fc502..698cb9adc 100644 --- a/www/poll/main.js +++ b/www/poll/main.js @@ -475,6 +475,9 @@ define([ setEditable(false); var ready = function (info) { + console.log(info); + module.users = info.userList.users; + console.log("Your realtime object is ready"); module.ready = true;