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
+3
View File
@@ -1,5 +1,8 @@
'use strict';
/* global angular:false */
/* global $:false */
angular.module('Application').controller('EmailController', ['$scope', '$location', '$timeout', '$rootScope', 'Client', function ($scope, $location, $timeout, $rootScope, Client) {
Client.onReady(function () { if (!Client.getUserInfo().admin) $location.path('/'); });