mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-12 20:18:41 -09:00
app: expose plugins and config to window which plugin authors might want
This commit is contained in:
parent
450e337e11
commit
87bac682a7
1 changed files with 2 additions and 0 deletions
|
|
@ -28,6 +28,8 @@ const store_ = createStore(
|
|||
|
||||
window.__defineGetter__('store', () => store_);
|
||||
window.__defineGetter__('rpc', () => rpc);
|
||||
window.__defineGetter__('config', () => config);
|
||||
window.__defineGetter__('plugins', () => plugins);
|
||||
|
||||
// initialize config
|
||||
store_.dispatch(loadConfig(config.getConfig()));
|
||||
|
|
|
|||
Loading…
Reference in a new issue