mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-16 05:38:41 -09:00
Fix getters in index.js
This commit is contained in:
parent
621a785252
commit
3eaf743b5a
1 changed files with 4 additions and 4 deletions
|
|
@ -26,10 +26,10 @@ if (process.platform === 'linux') {
|
||||||
|
|
||||||
const store_ = configureStore();
|
const store_ = configureStore();
|
||||||
|
|
||||||
window.__defineGetter__('store', () => store_);
|
Object.defineProperty(window, 'store', {get: () => store_});
|
||||||
window.__defineGetter__('rpc', () => rpc);
|
Object.defineProperty(window, 'rpc', {get: () => rpc});
|
||||||
window.__defineGetter__('config', () => config);
|
Object.defineProperty(window, 'config', {get: () => config});
|
||||||
window.__defineGetter__('plugins', () => plugins);
|
Object.defineProperty(window, 'plugins', {get: () => plugins});
|
||||||
|
|
||||||
const fetchFileData = configData => {
|
const fetchFileData = configData => {
|
||||||
const configInfo = Object.assign({}, configData, {bellSound: null});
|
const configInfo = Object.assign({}, configData, {bellSound: null});
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue