hellsan631/angular-pagepiling.js

View on GitHub

Showing 4 of 6 total issues

Function pagePiling has 37 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  function pagePiling($timeout) {
    var directive = {
      restrict: 'A',
      scope: {options: '='},
      link: link
Severity: Minor
Found in angular-pagePiling.js - About 1 hr to fix

    Function pagePiling has 37 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

      function pagePiling($timeout) {
        var directive = {
          restrict: 'A',
          scope: {options: '='},
          link: link
    Severity: Minor
    Found in sample/app/directives/angular-pagepiling.min.js - About 1 hr to fix

      Function link has 29 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

          function link(scope, element) {
            var pageIndex;
            var slideIndex;
      
            angular.element(element).pagepiling(sanatizeOptions(scope.options));
      Severity: Minor
      Found in angular-pagePiling.js - About 1 hr to fix

        Function link has 29 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

            function link(scope, element) {
              var pageIndex;
              var slideIndex;
        
              angular.element(element).pagepiling(sanatizeOptions(scope.options));
        Severity: Minor
        Found in sample/app/directives/angular-pagepiling.min.js - About 1 hr to fix
          Severity
          Category
          Status
          Source
          Language