src/public/app.js
Function AppController
has 38 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function AppController($q, auth, $state, $timeout, config, $rootScope, veranstaltungen, AVAILABLE_STATES_WITHOUT_EVENT, events) {
const vm = this;
vm.runBefore = false;
$rootScope.$on('$stateChangeStart', function (event, toState, toStateParams) {
Function AppController
has 9 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function AppController($q, auth, $state, $timeout, config, $rootScope, veranstaltungen, AVAILABLE_STATES_WITHOUT_EVENT, events) {
Function checkLockdown
has 7 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function checkLockdown($q, auth, $state, $timeout, config, toState, $rootScope) {
Function checkCurrentEvent
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function checkCurrentEvent(veranstaltungen, $state, AVAILABLE_STATES_WITHOUT_EVENT, toStateName, events) {