mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-12 20:18: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();
|
||||
|
||||
window.__defineGetter__('store', () => store_);
|
||||
window.__defineGetter__('rpc', () => rpc);
|
||||
window.__defineGetter__('config', () => config);
|
||||
window.__defineGetter__('plugins', () => plugins);
|
||||
Object.defineProperty(window, 'store', {get: () => store_});
|
||||
Object.defineProperty(window, 'rpc', {get: () => rpc});
|
||||
Object.defineProperty(window, 'config', {get: () => config});
|
||||
Object.defineProperty(window, 'plugins', {get: () => plugins});
|
||||
|
||||
const fetchFileData = configData => {
|
||||
const configInfo = Object.assign({}, configData, {bellSound: null});
|
||||
|
|
|
|||
Loading…
Reference in a new issue