GUI: Added ESLint to gulp tasks. ONOS-6521
Commented out gulp tasks making this change uneffective
Fixed an error in the build script

Change-Id: I4f4f9762aa1a66304aa74b3ab208095b9c1d4515
diff --git a/web/gui/src/main/webapp/app/view/topo/topoSelect.js b/web/gui/src/main/webapp/app/view/topo/topoSelect.js
index 5fbb700..1309a66 100644
--- a/web/gui/src/main/webapp/app/view/topo/topoSelect.js
+++ b/web/gui/src/main/webapp/app/view/topo/topoSelect.js
@@ -23,7 +23,7 @@
     'use strict';
 
     // injected refs
-    var $log, fs, wss, tov, tps, tts, ns, sus, tpis;
+    var fs, wss, tov, tps, tts, sus;
 
     // api to topoForce
     var api;
@@ -37,11 +37,11 @@
     // internal state
     var hovered, selections, selectOrder, consumeClick;
 
-    function setInitialState () {
-        hovered = null;         // the node over which the mouse is hovering
-        selections = {};        // currently selected nodes (by id)
-        selectOrder = [];       // the order in which we made selections
-        consumeClick = false;   // used to coordinate with SVG click handler
+    function setInitialState() {
+        hovered = null; // the node over which the mouse is hovering
+        selections = {}; // currently selected nodes (by id)
+        selectOrder = []; // the order in which we made selections
+        consumeClick = false; // used to coordinate with SVG click handler
     }
 
     // ==========================
@@ -70,7 +70,7 @@
                 tov.hooks.mouseOver({
                     id: m.id,
                     class: m.class,
-                    type: m.type
+                    type: m.type,
                 });
             }
         }
@@ -185,7 +185,7 @@
     function requestDetails(data) {
         wss.sendEvent('requestDetails', {
             id: data.id,
-            class: data.class
+            class: data.class,
         });
     }
 
@@ -210,7 +210,7 @@
     function singleSelect() {
         var data = getSel(0).obj;
 
-        //the link details are already taken care of in topoLink.js
+        // the link details are already taken care of in topoLink.js
         if (data.class === 'link') {
             return;
         }
@@ -235,14 +235,14 @@
                     id: 'host-flow-btn',
                     gid: 'endstation',
                     cb: tts.addHostIntent,
-                    tt: 'Create Host-to-Host Flow'
+                    tt: 'Create Host-to-Host Flow',
                 });
             } else if (nSel() >= 2) {
                 tps.addAction({
                     id: 'mult-src-flow-btn',
                     gid: 'flows',
                     cb: tts.addMultiSourceIntent,
-                    tt: 'Create Multi-Source Flow'
+                    tt: 'Create Multi-Source Flow',
                 });
             }
         }
@@ -295,7 +295,7 @@
         return {
             devices: devices,
             hosts: hosts,
-            types: types
+            types: types,
         };
     }
 
@@ -304,20 +304,16 @@
 
     angular.module('ovTopo')
     .factory('TopoSelectService',
-        ['$log', 'FnService', 'WebSocketService', 'TopoOverlayService',
-            'TopoPanelService', 'TopoTrafficService', 'NavService',
-            'SvgUtilService', 'TopoProtectedIntentsService',
+        ['FnService', 'WebSocketService', 'TopoOverlayService',
+        'TopoPanelService', 'TopoTrafficService', 'SvgUtilService',
 
-        function (_$log_, _fs_, _wss_, _tov_, _tps_, _tts_, _ns_, _sus_, _tpis_) {
-            $log = _$log_;
+        function (_fs_, _wss_, _tov_, _tps_, _tts_, _sus_) {
             fs = _fs_;
             wss = _wss_;
             tov = _tov_;
             tps = _tps_;
             tts = _tts_;
-            ns = _ns_;
             sus = _sus_;
-            tpis= _tpis_;
 
             function initSelect(_api_) {
                 api = _api_;
@@ -347,7 +343,7 @@
 
                 clickConsumed: clickConsumed,
                 selectionContext: selectionContext,
-                reselect: reselect
+                reselect: reselect,
             };
         }]);
 }());