Minor code tidy

This commit is contained in:
Bryan Ashby 2018-12-09 02:35:34 -07:00
parent a70d865d74
commit a036f6c6bf
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -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)) {