Revert "GUI: Added ESLint to gulp tasks GUI: Linted files Fixed an error in the build script"
This reverts commit 46c5f1087d76d93497a1e8e5593564991ccb6682.
Change-Id: I1464fdd1df075e93f885e3c1fbd02f0cc563fd4f
diff --git a/web/gui/src/main/webapp/app/view/topo2/topo2NodePosition.js b/web/gui/src/main/webapp/app/view/topo2/topo2NodePosition.js
index 1b7a88c..8889168 100644
--- a/web/gui/src/main/webapp/app/view/topo2/topo2NodePosition.js
+++ b/web/gui/src/main/webapp/app/view/topo2/topo2NodePosition.js
@@ -72,7 +72,7 @@
if (!loc.latOrY && !loc.longOrX) {
loc = {
longOrX: -20,
- latOrY: 10 * node.index(),
+ latOrY: 10 * node.index()
};
}
@@ -101,14 +101,14 @@
function rand() {
return {
x: rs.randDim(dim[0]),
- y: rs.randDim(dim[1]),
+ y: rs.randDim(dim[1])
};
}
function near(node) {
return {
x: node.x + nearDist + rs.spread(nearDist),
- y: node.y + nearDist + rs.spread(nearDist),
+ y: node.y + nearDist + rs.spread(nearDist)
};
}
@@ -176,8 +176,8 @@
return {
positionNode: positionNode,
- setLongLat: setLongLat,
+ setLongLat: setLongLat
};
- },
+ }
]);
})();