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/topo2Panel.js b/web/gui/src/main/webapp/app/view/topo2/topo2Panel.js
index 88ba678..dd7722b 100644
--- a/web/gui/src/main/webapp/app/view/topo2/topo2Panel.js
+++ b/web/gui/src/main/webapp/app/view/topo2/topo2Panel.js
@@ -51,16 +51,16 @@
return this.footer.append(x);
},
emptyRegions: function () {
- this.header.selectAll("*").remove();
- this.body.selectAll("*").remove();
- this.footer.selectAll("*").remove();
+ this.header.selectAll('*').remove();
+ this.body.selectAll('*').remove();
+ this.footer.selectAll('*').remove();
},
destroy: function () {
ps.destroyPanel(this.id);
},
isVisible: function () {
return this.el.isVisible();
- }
+ },
};
angular.module('ovTopo2')
@@ -71,7 +71,7 @@
ps = _ps_;
return View.extend(panel);
- }
+ },
]);
})();