From 59826930e4026bdc679bdb0c4a025cc9c089145c Mon Sep 17 00:00:00 2001 From: Bryan Ashby Date: Sat, 16 Sep 2017 17:24:26 -0600 Subject: [PATCH] Fix requires --- mods/bbs_list.js | 4 +++- mods/onelinerz.js | 6 ++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/mods/bbs_list.js b/mods/bbs_list.js index 07af017c..ec964a36 100644 --- a/mods/bbs_list.js +++ b/mods/bbs_list.js @@ -3,10 +3,12 @@ // ENiGMA½ const MenuModule = require('../core/menu_module.js').MenuModule; + const { getModDatabasePath, getTransactionDatabase -} = require('../core/database.js').getModDatabasePath; +} = require('../core/database.js'); + const ViewController = require('../core/view_controller.js').ViewController; const ansi = require('../core/ansi_term.js'); const theme = require('../core/theme.js'); diff --git a/mods/onelinerz.js b/mods/onelinerz.js index 49ecd3db..065c0a30 100644 --- a/mods/onelinerz.js +++ b/mods/onelinerz.js @@ -3,10 +3,12 @@ // ENiGMA½ const MenuModule = require('../core/menu_module.js').MenuModule; -const { + +const { getModDatabasePath, getTransactionDatabase -} = require('../core/database.js').getModDatabasePath; +} = require('../core/database.js'); + const ViewController = require('../core/view_controller.js').ViewController; const theme = require('../core/theme.js'); const ansi = require('../core/ansi_term.js');