eperusteet-opintopolku-app/yo/app/scripts/common/directives/murupolku.ts
File murupolku.ts
has 573 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/*
* Copyright (c) 2013 The Finnish Board of Education - Opetushallitus
*
* This program is free software: Licensed under the EUPL, Version 1.1 or - as
* soon as they will be approved by the European Commission - subsequent versions
Function getPath
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function getPath(state) {
var tree = [];
if (!state) {
return tree;
}
Function update
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function update() {
var toState = currentState;
if (!toState) {
return;
}