We use eslint by now, so make it as happy as it can be

This commit is contained in:
Johannes Zellner
2019-01-22 10:54:03 +01:00
parent 1b9586011e
commit 018b3a876f
15 changed files with 50 additions and 24 deletions
+4 -1
View File
@@ -1,6 +1,9 @@
'use strict';
angular.module('Application').controller('BackupsController', ['$scope', '$location', '$rootScope', '$timeout', 'Client', 'AppStore', function ($scope, $location, $rootScope, $timeout, Client, AppStore) {
/* global angular:false */
/* global $:false */
angular.module('Application').controller('BackupsController', ['$scope', '$location', '$rootScope', '$timeout', 'Client', function ($scope, $location, $rootScope, $timeout, Client) {
Client.onReady(function () { if (!Client.getUserInfo().admin) $location.path('/'); });
$scope.config = Client.getConfig();