Commit 8f720ee8 authored by Benoit Lavenier's avatar Benoit Lavenier
Browse files

Js lint

parent 64380fe6
Pipeline #9511 failed
...@@ -507,7 +507,7 @@ function AppController($scope, $rootScope, $state, $ionicSideMenuDelegate, $q, $ ...@@ -507,7 +507,7 @@ function AppController($scope, $rootScope, $state, $ionicSideMenuDelegate, $q, $
console.error("[home] Error while handle auth data", err); console.error("[home] Error while handle auth data", err);
return UIUtils.onError('ERROR.AUTH_INVALID_FILE')(err); return UIUtils.onError('ERROR.AUTH_INVALID_FILE')(err);
}); });
} };
$scope.registerProtocolHandlers = function() { $scope.registerProtocolHandlers = function() {
var protocols = ['web+june', /*'june' - NOT yet accepted by web browser */]; var protocols = ['web+june', /*'june' - NOT yet accepted by web browser */];
...@@ -592,7 +592,7 @@ function AppController($scope, $rootScope, $state, $ionicSideMenuDelegate, $q, $ ...@@ -592,7 +592,7 @@ function AppController($scope, $rootScope, $state, $ionicSideMenuDelegate, $q, $
console.error("[app] Failed to parse as URI: " + (e && e.message || e)); console.error("[app] Failed to parse as URI: " + (e && e.message || e));
// Try as an auth data // Try as an auth data
return $scope.handleAuthData(data, throwIfError) return $scope.handleAuthData(data, throwIfError);
}) })
// Both failed // Both failed
......
...@@ -10,5 +10,5 @@ angular.module('cesium.desktop.services', ['cesium.device.services', 'cesium.set ...@@ -10,5 +10,5 @@ angular.module('cesium.desktop.services', ['cesium.device.services', 'cesium.set
if (!Device.isDesktop()) return; if (!Device.isDesktop()) return;
console.info("[desktop-service] Starting desktop service..."); console.info("[desktop-service] Starting desktop service...");
console.debug("[desktop-service] TODO: manage menu and other specific stuff here"); console.debug("[desktop-service] TODO: manage menu and other specific stuff here");
}) });
}); });
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment