diff --git a/Gruntfile.js b/Gruntfile.js index cbaec83..2061865 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -74,7 +74,6 @@ module.exports = function (grunt) { globals: { document: true, angular: true, - jQuery: true, $: true, describe: true, it: true, diff --git a/app/components/config/config.js b/app/components/config/config.js index d7442de..4074699 100644 --- a/app/components/config/config.js +++ b/app/components/config/config.js @@ -1,5 +1,6 @@ -'use strict'; +/*global jQuery */ +'use strict'; angular.module('bansho.config', []) diff --git a/app/components/host/host.js b/app/components/host/host.js index 8aadd43..bf8b1a8 100644 --- a/app/components/host/host.js +++ b/app/components/host/host.js @@ -29,11 +29,9 @@ angular.module('bansho.host', ['bansho.live', if (service.service_description === "cpu") { $scope.host.cpuService = service; $scope.host.services.splice(i, 1); - console.log(i) } else if (service.service_description === "load") { $scope.host.loadService = service; $scope.host.services.splice(i, 1); - console.log(i) } else { ++i; } diff --git a/app/components/live/live.js b/app/components/live/live.js index 591a66b..27ac381 100644 --- a/app/components/live/live.js +++ b/app/components/live/live.js @@ -1,3 +1,5 @@ +/*global jQuery */ + 'use strict'; angular.module('bansho.live', []) diff --git a/app/components/notifications/notifications.js b/app/components/notifications/notifications.js index b03ed63..3b9b6b3 100644 --- a/app/components/notifications/notifications.js +++ b/app/components/notifications/notifications.js @@ -1,3 +1,5 @@ +/*global PNotify */ + 'use strict'; angular.module('bansho.notifications', []) diff --git a/app/components/table/state_icon/state_icon.js b/app/components/table/state_icon/state_icon.js index 9ddee6c..367a3ce 100644 --- a/app/components/table/state_icon/state_icon.js +++ b/app/components/table/state_icon/state_icon.js @@ -19,7 +19,7 @@ angular.module('bansho.table.state_icon', []) $scope.stateClass = 'state--error'; } }] - } + }; }) .directive('banshoServiceStateIcon', function () { @@ -40,5 +40,5 @@ angular.module('bansho.table.state_icon', []) $scope.stateClass = 'state--error'; } }] - } + }; }); diff --git a/app/routing_view/routing_view.js b/app/routing_view/routing_view.js index 5ad2e59..7e46a00 100644 --- a/app/routing_view/routing_view.js +++ b/app/routing_view/routing_view.js @@ -1,3 +1,5 @@ +/*global jQuery */ + 'use strict'; angular.module('bansho.view', ['ngRoute', diff --git a/app/templates/dashboard/dashboard.js b/app/templates/dashboard/dashboard.js index 0894641..543b4f4 100644 --- a/app/templates/dashboard/dashboard.js +++ b/app/templates/dashboard/dashboard.js @@ -1,3 +1,5 @@ +/*global jQuery */ + 'use strict'; angular.module('bansho.view.dashboard', ['ngRoute', diff --git a/app/templates/single_table/single_table.js b/app/templates/single_table/single_table.js index 747c90e..f52031f 100644 --- a/app/templates/single_table/single_table.js +++ b/app/templates/single_table/single_table.js @@ -1,3 +1,5 @@ +/*global jQuery */ + 'use strict'; angular.module('bansho.view.singleTable', ['ngRoute',