diff --git a/core/spinner_menu_view.js b/core/spinner_menu_view.js index f4517807..9547c9b8 100644 --- a/core/spinner_menu_view.js +++ b/core/spinner_menu_view.js @@ -62,7 +62,7 @@ function SpinnerMenuView(options) { text = `${sgr}${strUtil.pad(text, this.dimens.width, this.fillChar, this.justify)}`; this.client.term.write(`${ansi.goto(this.position.row, this.position.col)}${text}`); this.setRenderCacheItem(index, text, this.hasFocus); - } + }; } util.inherits(SpinnerMenuView, MenuView); diff --git a/core/view_controller.js b/core/view_controller.js index de6f1f05..84f33756 100644 --- a/core/view_controller.js +++ b/core/view_controller.js @@ -433,7 +433,7 @@ ViewController.prototype.getView = function(id) { ViewController.prototype.hasView = function(id) { return this.getView(id) ? true : false; -} +}; ViewController.prototype.getViewsByMciCode = function(mciCode) { if(!Array.isArray(mciCode)) {