From 21b5d48669af7006fde5d92d3b50ec6a872602fb Mon Sep 17 00:00:00 2001 From: xdrm-brackets Date: Sun, 25 Mar 2018 13:59:43 +0200 Subject: [PATCH] [setup] fixed --- webpack/setup.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/webpack/setup.js b/webpack/setup.js index 07bf030..0d2549d 100644 --- a/webpack/setup.js +++ b/webpack/setup.js @@ -12,10 +12,15 @@ import WebSocketClientDriver from './lib/client/ws.js' /* (1) Custom lib accessors ---------------------------------------------------------*/ +/* (1) Global Store for Vue */ window.gs = new GlobalStore(); + +/* (2) Authentication token management */ +window.auth = new Authentication(); + +/* (3) XHR / WebSocket drivers */ window.xhrcd = XHRClientDriver; window.wscd = WebSocketClientDriver; -window.auth = new Authentication();