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/topo2LinkPanel.js b/web/gui/src/main/webapp/app/view/topo2/topo2LinkPanel.js
index b3a7a5b..a5b570d 100644
--- a/web/gui/src/main/webapp/app/view/topo2/topo2LinkPanel.js
+++ b/web/gui/src/main/webapp/app/view/topo2/topo2LinkPanel.js
@@ -42,7 +42,7 @@
propOrder: [
'Type', '-',
'A Type', 'A Id', 'A Label', 'A Port', '-',
- 'B Type', 'B Id', 'B Label', 'B Port'
+ 'B Type', 'B Id', 'B Label', 'B Port',
],
props: {
'-': '',
@@ -54,8 +54,8 @@
'B Type': target.get('nodeType'),
'B Id': target.get('id'),
'B Label': target.get('props').name,
- 'B Port': data.get('portB') || 'N/A'
- }
+ 'B Port': data.get('portB') || 'N/A',
+ },
};
}
@@ -117,9 +117,9 @@
hide: hide,
toggle: toggle,
destroy: destroy,
- isVisible: function () { return linkPanel.isVisible(); }
+ isVisible: function () { return linkPanel.isVisible(); },
};
- }
+ },
]);
})();