Minor code tidy
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user