koinejs/WebComponents

View on GitHub

Showing 3 of 30 total issues

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

module.exports = function (grunt) {
  grunt.initConfig({
    jshint: {
      options: {
        jshintrc: '.jshintrc'
Severity: Major
Found in Gruntfile.js - About 2 hrs to fix

    Function DoubleSelect has 43 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

      var DoubleSelect = function (options) {
        this.source      = options.source;
        this.destination = options.destination;
        this.$           = options.jquery || jQuery;
        var that         = this;
    Severity: Minor
    Found in src/Koine.WebComponents.DoubleSelect.js - About 1 hr to fix

      Function FancySelect has 32 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

        var FancySelect = function ($source, $destination, $container, $) {
          var self, source, destination;
          this.source      = new Koine.Decorators.Dom.SelectDecorator($source[0]);
          this.destination = new Koine.Decorators.Dom.SelectDecorator($destination[0]);
          source           = this.getSource();
      Severity: Minor
      Found in src/Koine.WebComponents.FancySelect.js - About 1 hr to fix
        Severity
        Category
        Status
        Source
        Language