From a88bb6c434c3186741803b5ac43ae4ccc2fa7f83 Mon Sep 17 00:00:00 2001 From: blavenie <benoit.lavenier@e-is.pro> Date: Wed, 26 Oct 2016 18:49:27 +0200 Subject: [PATCH] JSHint --- www/js/controllers/app-controllers.js | 2 +- www/js/services/network-services.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/www/js/controllers/app-controllers.js b/www/js/controllers/app-controllers.js index 469b9482d..f4b19c1ab 100644 --- a/www/js/controllers/app-controllers.js +++ b/www/js/controllers/app-controllers.js @@ -173,7 +173,7 @@ function AppController($scope, $rootScope, $state, $ionicSideMenuDelegate, $q, $ $scope.closeProfilePopover = function() { if ($scope.profilePopover && $scope.profilePopover.isShown()) { - $timeout(function(){$scope.profilePopover.hide()}); + $timeout(function(){$scope.profilePopover.hide();}); } }; diff --git a/www/js/services/network-services.js b/www/js/services/network-services.js index 6b529fedb..e30cfa953 100644 --- a/www/js/services/network-services.js +++ b/www/js/services/network-services.js @@ -59,7 +59,7 @@ angular.module('cesium.network.services', ['ngResource', 'ngApi', 'cesium.bma.se data.searchingPeersOnNetwork = true; data.updatingPeers = true; - var newPeers = [] + var newPeers = []; if (interval) { $interval.cancel(interval); -- GitLab