From 2fb3ce83a34019ee01ca7eaa88f01598d4eef665 Mon Sep 17 00:00:00 2001 From: Bryan Ashby Date: Sat, 24 Nov 2018 09:33:20 -0700 Subject: [PATCH] Spelling... --- core/menu_module.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/core/menu_module.js b/core/menu_module.js index 2ad30b8a..87f96dc0 100644 --- a/core/menu_module.js +++ b/core/menu_module.js @@ -30,7 +30,7 @@ exports.MenuModule = class MenuModule extends PluginModule { this.cls = _.get(this.menuConfig.config, 'cls', Config().menus.cls); this.viewControllers = {}; - // *initial* interruptable state for this menu + // *initial* Interruptible state for this menu this.disableInterruption(); } @@ -167,18 +167,18 @@ exports.MenuModule = class MenuModule extends PluginModule { } neverInterruptable() { - return this.menuConfig.config.interruptable === 'never'; + return this.menuConfig.config.Interruptible === 'never'; } enableInterruption() { if(!this.neverInterruptable()) { - this.interruptable = true; + this.Interruptible = true; } } disableInterruption() { if(!this.neverInterruptable()) { - this.interruptable = false; + this.Interruptible = false; } } @@ -191,7 +191,7 @@ exports.MenuModule = class MenuModule extends PluginModule { } displayQueuedInterruptions(cb) { - if(true !== this.interruptable) { + if(true !== this.Interruptible) { return cb(null); } @@ -205,7 +205,7 @@ exports.MenuModule = class MenuModule extends PluginModule { } attemptInterruptNow(interruptItem, cb) { - if(true !== this.interruptable) { + if(true !== this.Interruptible) { return cb(null, false); // don't eat up the item; queue for later }