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/topo2ViewController.js b/web/gui/src/main/webapp/app/view/topo2/topo2ViewController.js
index 7387c94..190f751 100644
--- a/web/gui/src/main/webapp/app/view/topo2/topo2ViewController.js
+++ b/web/gui/src/main/webapp/app/view/topo2/topo2ViewController.js
@@ -34,10 +34,10 @@
displayName: 'View',
initialize: function () {
- this.name = this.displayName.toLowerCase().replace(/ /g, '_');
+ this.name = this.displayName.toLowerCase().replace(/ /g,"_");
this.prefs = {
- visible: this.name + '_visible',
- };
+ visible: this.name + '_visible'
+ }
},
appendElement: function (parent, node) {
var el = d3.select('#' + this.id);
@@ -46,7 +46,7 @@
}
return el;
},
- node: function () {
+ node: function() {
return d3.select('#' + this.id);
},
enabled: function () {
@@ -64,7 +64,7 @@
.duration(400)
.style('opacity', 0)
.each('end', function () {
- node.style('visibility', 'hidden');
+ node.style('visibility', 'hidden')
});
}
},
@@ -76,7 +76,7 @@
.style('visibility', 'visible')
.transition()
.duration(400)
- .style('opacity', 1);
+ .style('opacity', 1)
}
},
toggle: function () {
@@ -95,7 +95,7 @@
var state = ps.getPrefs('topo2_prefs');
state[key] = value ? 1 : 0;
ps.setPrefs('topo2_prefs', state);
- },
+ }
};
angular.module('ovTopo2')
@@ -108,6 +108,6 @@
ViewController.extend = fn.extend;
return ViewController;
- },
+ }
]);
})();