From 6af0c7e0e1e7e964e0e1a47aedfabdbb9e959626 Mon Sep 17 00:00:00 2001 From: Darren Date: Fri, 28 Nov 2014 10:24:28 +0000 Subject: [PATCH] .createQuery(nick) on public Network object --- client/src/app.js | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/client/src/app.js b/client/src/app.js index 087de5f..9a51896 100644 --- a/client/src/app.js +++ b/client/src/app.js @@ -131,6 +131,18 @@ _kiwi.global = { }; }); + // Now for some network related functions... + obj.createQuery = function(nick) { + var network, restricted_keys; + + network = getNetwork(); + if (!network) { + return; + } + + return network.createQuery(nick); + }; + // Add the networks getters/setters obj.get = function(name) { var network, restricted_keys; -- 2.25.1