aboutsummaryrefslogtreecommitdiffstats
path: root/src/app.js
diff options
context:
space:
mode:
authorLibravatar vantezzen <properly@protonmail.com>2019-08-25 13:56:14 +0200
committerLibravatar vantezzen <properly@protonmail.com>2019-08-25 13:56:14 +0200
commit051314eac6f062f18ea52a2fda2f1ecd1164b64b (patch)
tree067f432695184ae78ed2474723e9b0ec70d42507 /src/app.js
parentAdd custom tray icons (diff)
downloadferdium-app-051314eac6f062f18ea52a2fda2f1ecd1164b64b.tar.gz
ferdium-app-051314eac6f062f18ea52a2fda2f1ecd1164b64b.tar.zst
ferdium-app-051314eac6f062f18ea52a2fda2f1ecd1164b64b.zip
Unifying apiBase function
Diffstat (limited to 'src/app.js')
-rw-r--r--src/app.js2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/app.js b/src/app.js
index ccf13b555..797c178a3 100644
--- a/src/app.js
+++ b/src/app.js
@@ -57,12 +57,10 @@ window.addEventListener('load', () => {
57 const api = apiFactory(serverApi, new LocalApi()); 57 const api = apiFactory(serverApi, new LocalApi());
58 const router = new RouterStore(); 58 const router = new RouterStore();
59 const stores = storeFactory(api, actions, router); 59 const stores = storeFactory(api, actions, router);
60 serverApi.setStores(stores);
61 const history = syncHistoryWithStore(hashHistory, router); 60 const history = syncHistoryWithStore(hashHistory, router);
62 const menu = new MenuFactory(stores, actions); 61 const menu = new MenuFactory(stores, actions);
63 const touchBar = new TouchBarFactory(stores, actions); 62 const touchBar = new TouchBarFactory(stores, actions);
64 63
65
66 window.ferdi = { 64 window.ferdi = {
67 stores, 65 stores,
68 actions, 66 actions,