Changes to prevent cyclic dependencies.

This commit is contained in:
Daniel Scalzi
2017-12-02 22:41:47 -05:00
parent 086bfc8593
commit 0dde4bce42
10 changed files with 103 additions and 110 deletions

View File

@@ -1,6 +1,8 @@
/**
* Core UI functions are initialized in this file. This prevents
* unexpected errors from breaking the core features.
* unexpected errors from breaking the core features. Specifically,
* actions in this file should not require the usage of any internal
* modules, excluding dependencies.
*/
const $ = require('jquery');
const {remote, shell} = require('electron')