app/modules/main/features/PaginationFeature.js
Function PaginationFeature
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function PaginationFeature(mdtPaginationHelperFactory, mdtAjaxPaginationHelperFactory){
var service = this;
service.initFeature = initFeature;
service.startFeature = startFeature;
Function initFeature
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function initFeature(scope, ctrl){
if(!scope.mdtRowPaginator){
ctrl.mdtPaginationHelper = scope.mdtPaginationHelper = mdtPaginationHelperFactory
.getInstance(ctrl.dataStorage, scope.paginatedRows, scope.mdtRow);
}else{