sfstanley/citydogshare

View on GitHub

Showing 257 of 576 total issues

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

function _normalizeArguments( effect, options, speed, callback ) {

    // allow passing all options as the first parameter
    if ( $.isPlainObject( effect ) ) {
        options = effect;
Severity: Minor
Found in app/assets/javascripts/jquery-ui.js - About 1 hr to fix

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

            createTag: function(value, additionalClass) {
                var that = this;
                // Automatically trims the value of leading and trailing whitespace.
                value = $.trim(value);
    
    
    Severity: Minor
    Found in app/assets/javascripts/tag-it.js - About 1 hr to fix

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

          function configFromStringAndArray(config) {
              var tempConfig,
                  bestMoment,
      
                  scoreToBeat,
      Severity: Minor
      Found in app/assets/javascripts/moment.js - About 1 hr to fix

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

                left: function( position, data ) {
                    var within = data.within,
                        withinOffset = within.offset.left + within.scrollLeft,
                        outerWidth = within.width,
                        offsetLeft = within.isWindow ? within.scrollLeft : within.offset.left,
        Severity: Minor
        Found in app/assets/javascripts/jquery-ui.js - About 1 hr to fix

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

              option: function( key, value ) {
                  var options = key,
                      parts,
                      curOption,
                      i;
          Severity: Minor
          Found in app/assets/javascripts/jquery-ui.js - About 1 hr to fix

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

                    add: function(elem, to, from, hide) {
                        if ( !elem || Galleria.TOUCH ) {
                            return;
                        }
                        if (!idle.bound) {
            Severity: Minor
            Found in app/assets/javascripts/galleria-1.4.2.js - About 1 hr to fix

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

                  open: function( event ) {
                      var that = this,
                          target = $( event ? event.target : this.element )
                              // we need closest here due to mouseover bubbling,
                              // but always pointing at the same event target
              Severity: Minor
              Found in app/assets/javascripts/jquery-ui.js - About 1 hr to fix

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

                            offsetString = function(offset) {
                                try {
                                    return $.datepicker.parseDate($.datepicker._get(inst, "dateFormat"),
                                        offset, $.datepicker._getFormatConfig(inst));
                                }
                Severity: Minor
                Found in app/assets/javascripts/jquery-ui.js - About 1 hr to fix

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

                      _attachHandlers: function(inst) {
                          var stepMonths = this._get(inst, "stepMonths"),
                              id = "#" + inst.id.replace( /\\\\/g, "\\" );
                          inst.dpDiv.find("[data-handler]").map(function () {
                              var handler = {
                  Severity: Minor
                  Found in app/assets/javascripts/jquery-ui.js - About 1 hr to fix

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

                        _determineButtonType: function() {
                            var ancestor, labelSelector, checked;
                    
                            if ( this.element.is("[type=checkbox]") ) {
                                this.type = "checkbox";
                    Severity: Minor
                    Found in app/assets/javascripts/jquery-ui.js - About 1 hr to fix

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

                          function getSetOffset (input, keepLocalTime) {
                              var offset = this._offset || 0,
                                  localAdjust;
                              if (input != null) {
                                  if (typeof input === 'string') {
                      Severity: Minor
                      Found in app/assets/javascripts/moment.js - About 1 hr to fix

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

                                rescale: function(event) {
                        
                                    // calculate
                                     var width = M.min( $win.width()-40, lightbox.width ),
                                        height = M.min( $win.height()-60, lightbox.height ),
                        Severity: Minor
                        Found in app/assets/javascripts/galleria-1.4.2.js - About 1 hr to fix

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

                                  bindControls: function() {
                          
                                      var i;
                          
                                      carousel.next.on( 'click:fast', function(e) {
                          Severity: Minor
                          Found in app/assets/javascripts/galleria-1.4.2.js - About 1 hr to fix

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

                                _createButtons: function() {
                                    var that = this,
                                        buttons = this.options.buttons;
                            
                                    // if we already have a button pane, remove it
                            Severity: Minor
                            Found in app/assets/javascripts/jquery-ui.js - About 1 hr to fix

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

                                  stop: function( event ) {
                                      var that = $(this).resizable( "instance" ),
                                          o = that.options,
                                          pr = that._proportionallyResizeElements,
                                          ista = pr.length && (/textarea/i).test(pr[0].nodeName),
                              Severity: Minor
                              Found in app/assets/javascripts/jquery-ui.js - About 1 hr to fix

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

                                spaces.hsla.to = function( rgba ) {
                                    if ( rgba[ 0 ] == null || rgba[ 1 ] == null || rgba[ 2 ] == null ) {
                                        return [ null, null, null, rgba[ 3 ] ];
                                    }
                                    var r = rgba[ 0 ] / 255,
                                Severity: Minor
                                Found in app/assets/javascripts/jquery-ui.js - About 1 hr to fix

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

                                              show : function( elem, speed, callback ) {
                                  
                                                  callback = callback || F;
                                  
                                                  var $elem = $(elem);
                                  Severity: Minor
                                  Found in app/assets/javascripts/galleria-1.4.2.js - About 1 hr to fix

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

                                    $.fn.galleria = function( options ) {
                                    
                                        var selector = this.selector;
                                    
                                        // try domReady if element not found
                                    Severity: Minor
                                    Found in app/assets/javascripts/galleria-1.4.2.js - About 1 hr to fix

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

                                          _create: function() {
                                              this.originalCss = {
                                                  display: this.element[ 0 ].style.display,
                                                  width: this.element[ 0 ].style.width,
                                                  minHeight: this.element[ 0 ].style.minHeight,
                                      Severity: Minor
                                      Found in app/assets/javascripts/jquery-ui.js - About 1 hr to fix

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

                                            _initialActive: function() {
                                                var active = this.options.active,
                                                    collapsible = this.options.collapsible,
                                                    locationHash = location.hash.substring( 1 );
                                        
                                        
                                        Severity: Minor
                                        Found in app/assets/javascripts/jquery-ui.js - About 1 hr to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language