mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-12 20:18:41 -09:00
add TODO comments for the new Electron async APIs that replace the remote module
This commit is contained in:
parent
b8a1ffd6b0
commit
03ff483bea
4 changed files with 6 additions and 0 deletions
|
|
@ -1,4 +1,5 @@
|
||||||
import {remote} from 'electron';
|
import {remote} from 'electron';
|
||||||
|
// TODO: Should be updates to new async API https://medium.com/@nornagon/electrons-remote-module-considered-harmful-70d69500f31
|
||||||
|
|
||||||
const {getDecoratedKeymaps} = remote.require('./plugins');
|
const {getDecoratedKeymaps} = remote.require('./plugins');
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,6 @@
|
||||||
import {remote} from 'electron';
|
import {remote} from 'electron';
|
||||||
|
// TODO: Should be updates to new async API https://medium.com/@nornagon/electrons-remote-module-considered-harmful-70d69500f31
|
||||||
|
|
||||||
import Immutable, {Immutable as ImmutableType} from 'seamless-immutable';
|
import Immutable, {Immutable as ImmutableType} from 'seamless-immutable';
|
||||||
import {decorateUIReducer} from '../utils/plugins';
|
import {decorateUIReducer} from '../utils/plugins';
|
||||||
import {CONFIG_LOAD, CONFIG_RELOAD} from '../constants/config';
|
import {CONFIG_LOAD, CONFIG_RELOAD} from '../constants/config';
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
import {ipcRenderer, remote} from 'electron';
|
import {ipcRenderer, remote} from 'electron';
|
||||||
|
// TODO: Should be updates to new async API https://medium.com/@nornagon/electrons-remote-module-considered-harmful-70d69500f31
|
||||||
|
|
||||||
const plugins = remote.require('./plugins') as typeof import('../../app/plugins');
|
const plugins = remote.require('./plugins') as typeof import('../../app/plugins');
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,6 @@
|
||||||
import {remote} from 'electron';
|
import {remote} from 'electron';
|
||||||
|
// TODO: Should be updates to new async API https://medium.com/@nornagon/electrons-remote-module-considered-harmful-70d69500f31
|
||||||
|
|
||||||
import {connect as reduxConnect} from 'react-redux';
|
import {connect as reduxConnect} from 'react-redux';
|
||||||
import {basename} from 'path';
|
import {basename} from 'path';
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue