linagora/openpaas-esn

View on GitHub
frontend/js/modules/infinite-list/infinite-list-scroll-helper-builder.service.js

Summary

Maintainability
A
2 hrs
Test Coverage

Function infiniteScrollHelperBuilder has 34 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    function infiniteScrollHelperBuilder($q, $timeout, infiniteListService, INFINITE_LIST_THROTTLE, ELEMENTS_PER_PAGE) {
      return function(scope, loadNextItems, updateScope, elements_per_page) {
        elements_per_page = elements_per_page || ELEMENTS_PER_PAGE;

        return function() {

    Function infiniteScrollHelperBuilder has 5 arguments (exceeds 4 allowed). Consider refactoring.
    Open

        function infiniteScrollHelperBuilder($q, $timeout, infiniteListService, INFINITE_LIST_THROTTLE, ELEMENTS_PER_PAGE) {

      There are no issues that match your filters.

      Category
      Status