LeeChSien/angular-option-tree

View on GitHub

Showing 3 of 9 total issues

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

        link: function (scope, element, attrs) {
          var element_query_pattern = '',
              isInit = false,
              settings = {
                select_class: $(element).attr('option-tree-class'),
Severity: Minor
Found in src/angular-option-tree.js - About 1 hr to fix

    Function exports has 41 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

    module.exports = function(grunt) {
    
        require('load-grunt-tasks')(grunt);
        grunt.initConfig({
            pkg: grunt.file.readJSON('bower.json'),
    Severity: Minor
    Found in Gruntfile.js - About 1 hr to fix

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

              link: function (scope, element, attrs) {
                var element_query_pattern = '', isInit = false, settings = {
                    select_class: $(element).attr('option-tree-class'),
                    choose: $(element).attr('option-tree-prompt')
                  };
      Severity: Minor
      Found in angular-option-tree.js - About 1 hr to fix
        Severity
        Category
        Status
        Source
        Language