Semantic-Org/Semantic-UI

View on GitHub

Showing 246 of 804 total issues

Function selectedLetter has 31 lines of code (exceeds 25 allowed). Consider refactoring.
Open

          selectedLetter: function(letter) {
            var
              $selectedItem         = $item.filter('.' + className.selected),
              alreadySelectedLetter = $selectedItem.length > 0 && module.has.firstLetter($selectedItem, letter),
              $nextValue            = false,
Severity: Minor
Found in src/definitions/modules/dropdown.js - About 1 hr to fix

    Function left has 31 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

              left: function() {
                var
                  height = {
                    active : $activeSide.outerWidth(true),
                    next   : $nextSide.outerWidth(true)
    Severity: Minor
    Found in src/definitions/modules/shape.js - About 1 hr to fix

      Function meteorTask has 31 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

          let meteorTask = function() {
            console.info('Handling meteor release');
            let
              filenames = ''
            ;
      Severity: Minor
      Found in tasks/admin/components/create.js - About 1 hr to fix

        Function stageSize has 31 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

                  stageSize: function() {
                    var
                      $clone      = $module.clone().addClass(className.loading),
                      $activeSide = $clone.find('.' + settings.className.active),
                      $nextSide   = (nextIndex)
        Severity: Minor
        Found in src/definitions/modules/shape.js - About 1 hr to fix

          Function right has 31 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

                    right: function() {
                      var
                        height = {
                          active : $activeSide.outerWidth(true),
                          next   : $nextSide.outerWidth(true)
          Severity: Minor
          Found in src/definitions/modules/shape.js - About 1 hr to fix

            Function blur has 31 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

                      blur: function(event) {
                        var
                          pageLostFocus = (document.activeElement === this),
                          callback      = function() {
                            module.cancel.query();
            Severity: Minor
            Found in src/definitions/modules/search.js - About 1 hr to fix

              Function fail has 30 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

                          fail: function(xhr, status, httpMessage) {
                            var
                              // pull response from xhr if available
                              response     = module.get.responseFromXHR(xhr),
                              errorMessage = module.get.errorFromRequest(response, status, httpMessage)
              Severity: Minor
              Found in src/definitions/behaviors/api.js - About 1 hr to fix

                Function click has 30 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                            click: function (event, skipRefocus) {
                              var
                                $choice        = $(this),
                                $target        = (event)
                                  ? $(event.target)
                Severity: Minor
                Found in src/definitions/modules/dropdown.js - About 1 hr to fix

                  Function clear has 30 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                          clear: function() {
                            $field
                              .each(function () {
                                var
                                  $field       = $(this),
                  Severity: Minor
                  Found in src/definitions/behaviors/form.js - About 1 hr to fix

                    Function prompt has 30 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                              prompt: function(rule, field) {
                                var
                                  ruleName      = module.get.ruleName(rule),
                                  ancillary     = module.get.ancillaryValue(rule),
                                  $field        = module.get.field(field.identifier),
                    Severity: Minor
                    Found in src/definitions/behaviors/form.js - About 1 hr to fix

                      Function generateResults has 30 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

                              generateResults: function(response) {
                                module.debug('Generating html from response', response);
                                var
                                  template       = settings.templates[settings.type],
                                  isProperObject = ($.isPlainObject(response[fields.results]) && !$.isEmptyObject(response[fields.results])),
                      Severity: Minor
                      Found in src/definitions/modules/search.js - About 1 hr to fix

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

                                determineTabs: function() {
                                  var
                                    $reference
                                  ;
                        
                        
                        Severity: Minor
                        Found in src/definitions/modules/tab.js - About 1 hr to fix

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

                                    display: function() {
                                      var
                                        title = settings.name + ':',
                                        totalTime = 0
                                      ;
                          Severity: Minor
                          Found in src/definitions/behaviors/form.js - About 1 hr to fix

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

                                        done: function(response, textStatus, xhr) {
                                          var
                                            context            = this,
                                            elapsedTime        = (new Date().getTime() - requestStartTime),
                                            timeLeft           = (settings.loadingDuration - elapsedTime),
                            Severity: Minor
                            Found in src/definitions/behaviors/api.js - About 1 hr to fix

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

                                      show: function(callback) {
                                        callback = $.isFunction(callback)
                                          ? callback
                                          : function(){}
                                        ;
                              Severity: Minor
                              Found in src/definitions/modules/dropdown.js - About 1 hr to fix

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

                                          display: function() {
                                            var
                                              title = settings.name + ':',
                                              totalTime = 0
                                            ;
                                Severity: Minor
                                Found in src/definitions/modules/transition.js - About 1 hr to fix

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

                                            display: function() {
                                              var
                                                title = settings.name + ':',
                                                totalTime = 0
                                              ;
                                  Severity: Minor
                                  Found in src/definitions/modules/embed.js - About 1 hr to fix

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

                                              display: function() {
                                                var
                                                  title = settings.name + ':',
                                                  totalTime = 0
                                                ;
                                    Severity: Minor
                                    Found in src/definitions/modules/dimmer.js - About 1 hr to fix

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

                                                display: function() {
                                                  var
                                                    title = settings.name + ':',
                                                    totalTime = 0
                                                  ;
                                      Severity: Minor
                                      Found in src/definitions/modules/shape.js - About 1 hr to fix

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

                                                  display: function() {
                                                    var
                                                      title = settings.name + ':',
                                                      totalTime = 0
                                                    ;
                                        Severity: Minor
                                        Found in src/definitions/modules/rating.js - About 1 hr to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language