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/directives.js b/web/gui/src/main/webapp/app/directives.js
index 8135a96..1cb188f 100644
--- a/web/gui/src/main/webapp/app/directives.js
+++ b/web/gui/src/main/webapp/app/directives.js
@@ -30,14 +30,14 @@
scope: {
offsetHeight: '@',
offsetWidth: '@',
- notifier: '&'
+ notifier: '&',
},
link: function (scope, element) {
var elem = d3.select(element[0]);
scope.$watchCollection(function () {
return {
h: $window.innerHeight,
- w: $window.innerWidth
+ w: $window.innerWidth,
};
}, function () {
var offH = scope.offsetHeight || 0,
@@ -46,7 +46,7 @@
elem.style({
height: wsz.height + 'px',
- width: wsz.width + 'px'
+ width: wsz.width + 'px',
});
if (fs.isF(scope.notifier)) {
@@ -57,7 +57,7 @@
angular.element($window).bind('resize', function () {
scope.$apply();
});
- }
+ },
};
}])