GUI: Added ESLint to gulp tasks
GUI: Linted files
Fixed an error in the build script
JIRA-TASKS: ONOS-6522, ONOS-6521
Change-Id: Ie72abfe6cbe21c8946f219be6193344b67ec6dd1
diff --git a/web/gui/src/main/webapp/app/view/topo2/topo2SummaryPanel.js b/web/gui/src/main/webapp/app/view/topo2/topo2SummaryPanel.js
index 982cd5d4..6b651f7 100644
--- a/web/gui/src/main/webapp/app/view/topo2/topo2SummaryPanel.js
+++ b/web/gui/src/main/webapp/app/view/topo2/topo2SummaryPanel.js
@@ -33,10 +33,10 @@
className = 'topo2-p',
panelOpts = {
show: true,
- width: 260 // summary and detail panel width
+ width: 260, // summary and detail panel width
},
handlerMap = {
- showSummary: handleSummaryData
+ showSummary: handleSummaryData,
};
function init(_detailsPanel_) {
@@ -47,7 +47,7 @@
wss.sendEvent('requestSummary');
var options = angular.extend({}, panelOpts, {
- class: className
+ class: className,
});
summaryPanel = new Panel(id, options);
@@ -128,9 +128,9 @@
toggle: toggle,
destroy: destroy,
isVisible: function () { return summaryPanel.isVisible(); },
- getInstance: function () { return summaryPanel; }
+ getInstance: function () { return summaryPanel; },
};
- }
+ },
]);
})();