From 42fd369cf46ee828f3cb0b9fdda97d273e8e8168 Mon Sep 17 00:00:00 2001 From: Iuri Matias Date: Sat, 22 Oct 2016 20:16:00 -0400 Subject: [PATCH] remove trailing commas --- lib/monitor.js | 44 ++++++++++++++++++++++---------------------- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/lib/monitor.js b/lib/monitor.js index d094b6ea..94e94aaf 100644 --- a/lib/monitor.js +++ b/lib/monitor.js @@ -108,7 +108,7 @@ Dashboard.prototype.layoutLog = function() { border: { fg: this.color } - }, + } }); this.logText = blessed.log({ @@ -184,14 +184,14 @@ Dashboard.prototype.layoutAssets = function() { left: "50%", top: "42%", border: { - type: "line", + type: "line" }, style: { fg: -1, border: { - fg: this.color, - }, - }, + fg: this.color + } + } }); this.assetTable = blessed.table({ @@ -230,20 +230,20 @@ Dashboard.prototype.layoutStatus = function() { label: "Environment", tags: true, padding: { - left: 1, + left: 1 }, width: "100%", height: "20%", valign: "middle", border: { - type: "line", + type: "line" }, style: { fg: -1, border: { - fg: this.color, - }, - }, + fg: this.color + } + } }); this.operations = blessed.box({ @@ -251,20 +251,20 @@ Dashboard.prototype.layoutStatus = function() { label: "Status", tags: true, padding: { - left: 1, + left: 1 }, width: "100%", height: "20%", valign: "middle", border: { - type: "line", + type: "line" }, style: { fg: -1, border: { - fg: this.color, - }, - }, + fg: this.color + } + } }); this.progress = blessed.box({ @@ -283,9 +283,9 @@ Dashboard.prototype.layoutStatus = function() { style: { fg: -1, border: { - fg: this.color, - }, - }, + fg: this.color + } + } }); this.screen.append(this.wrapper); @@ -302,14 +302,14 @@ Dashboard.prototype.layoutCmd = function() { left: '0%', top: '95%', border: { - type: 'line', + type: 'line' }, style: { fg: 'black', border: { - fg: this.color, - }, - }, + fg: this.color + } + } }); this.input = blessed.textbox({