Fix requires

This commit is contained in:
Bryan Ashby 2017-09-16 17:24:26 -06:00
parent 1e250f06d9
commit 59826930e4
2 changed files with 7 additions and 3 deletions

View File

@ -3,10 +3,12 @@
// ENiGMA½ // ENiGMA½
const MenuModule = require('../core/menu_module.js').MenuModule; const MenuModule = require('../core/menu_module.js').MenuModule;
const { const {
getModDatabasePath, getModDatabasePath,
getTransactionDatabase getTransactionDatabase
} = require('../core/database.js').getModDatabasePath; } = require('../core/database.js');
const ViewController = require('../core/view_controller.js').ViewController; const ViewController = require('../core/view_controller.js').ViewController;
const ansi = require('../core/ansi_term.js'); const ansi = require('../core/ansi_term.js');
const theme = require('../core/theme.js'); const theme = require('../core/theme.js');

View File

@ -3,10 +3,12 @@
// ENiGMA½ // ENiGMA½
const MenuModule = require('../core/menu_module.js').MenuModule; const MenuModule = require('../core/menu_module.js').MenuModule;
const { const {
getModDatabasePath, getModDatabasePath,
getTransactionDatabase getTransactionDatabase
} = require('../core/database.js').getModDatabasePath; } = require('../core/database.js');
const ViewController = require('../core/view_controller.js').ViewController; const ViewController = require('../core/view_controller.js').ViewController;
const theme = require('../core/theme.js'); const theme = require('../core/theme.js');
const ansi = require('../core/ansi_term.js'); const ansi = require('../core/ansi_term.js');