sfstanley/citydogshare

View on GitHub

Showing 257 of 576 total issues

Function effect has 35 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    effect: function( /* effect, options, speed, callback */ ) {
        var args = _normalizeArguments.apply( this, arguments ),
            mode = args.mode,
            queue = args.queue,
            effectMethod = $.effects.effect[ args.effect ];
Severity: Minor
Found in app/assets/javascripts/jquery-ui.js - About 1 hr to fix

    Function _mouseStart has 35 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        _mouseStart: function(event) {
    
            var o = this.options;
    
            //Create and append the visible helper
    Severity: Minor
    Found in app/assets/javascripts/jquery-ui.js - About 1 hr to fix

      Function _createTitlebar has 35 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

          _createTitlebar: function() {
              var uiDialogTitle;
      
              this.uiDialogTitlebar = $( "<div>" )
                  .addClass( "ui-dialog-titlebar ui-widget-header ui-corner-all ui-helper-clearfix" )
      Severity: Minor
      Found in app/assets/javascripts/jquery-ui.js - About 1 hr to fix

        Function _hideDatepicker has 35 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

            _hideDatepicker: function(input) {
                var showAnim, duration, postProcess, onClose,
                    inst = this._curInst;
        
                if (!inst || (input && inst !== $.data(input, "datepicker"))) {
        Severity: Minor
        Found in app/assets/javascripts/jquery-ui.js - About 1 hr to fix

          Function _mouseCapture has 35 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

              _mouseCapture: function(event, overrideHandle) {
                  var currentItem = null,
                      validHandle = false,
                      that = this;
          
          
          Severity: Minor
          Found in app/assets/javascripts/jquery-ui.js - About 1 hr to fix

            Function cancel has 35 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

                cancel: function() {
            
                    if(this.dragging) {
            
                        this._mouseUp({ target: null });
            Severity: Minor
            Found in app/assets/javascripts/jquery-ui.js - About 1 hr to fix

              Function Video has 34 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

                  Video = function( type, id ) {
              
                      for( var i=0; i<_video._inst.length; i++ ) {
                          if ( _video._inst[i].id === id && _video._inst[i].type == type ) {
                              return _video._inst[i];
              Severity: Minor
              Found in app/assets/javascripts/galleria-1.4.2.js - About 1 hr to fix

                Function _slide has 34 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                    _slide: function( event, index, newVal ) {
                        var otherVal,
                            newValues,
                            allowed;
                
                
                Severity: Minor
                Found in app/assets/javascripts/jquery-ui.js - About 1 hr to fix

                  Function _eventHandler has 34 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                      _eventHandler: function( event ) {
                          var options = this.options,
                              active = this.active,
                              anchor = $( event.currentTarget ),
                              tab = anchor.closest( "li" ),
                  Severity: Minor
                  Found in app/assets/javascripts/jquery-ui.js - About 1 hr to fix

                    Function _makeDraggable has 34 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                        _makeDraggable: function() {
                            var that = this,
                                options = this.options;
                    
                            function filteredUi( ui ) {
                    Severity: Minor
                    Found in app/assets/javascripts/jquery-ui.js - About 1 hr to fix

                      Function loop has 33 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

                              loop: function() {
                      
                                  var distance = this.to - this.pos,
                                      factor = 1;
                      
                      
                      Severity: Minor
                      Found in app/assets/javascripts/galleria-1.4.2.js - About 1 hr to fix

                        Function complete has 33 lines of code (exceeds 25 allowed). Consider refactoring.
                        Open

                                            complete: function( thumb ) {
                        
                                                // shrink thumbnails to fit
                                                var top = ['left', 'top'],
                                                    arr = ['Width', 'Height'],
                        Severity: Minor
                        Found in app/assets/javascripts/galleria-1.4.2.js - About 1 hr to fix

                          Function _keydown has 33 lines of code (exceeds 25 allowed). Consider refactoring.
                          Open

                              _keydown: function( event ) {
                                  if ( event.altKey || event.ctrlKey ) {
                                      return;
                                  }
                          
                          
                          Severity: Minor
                          Found in app/assets/javascripts/jquery-ui.js - About 1 hr to fix

                            Function refreshPositions has 33 lines of code (exceeds 25 allowed). Consider refactoring.
                            Open

                                refreshPositions: function(fast) {
                            
                                    // Determine whether items are being displayed horizontally
                                    this.floating = this.items.length ?
                                        this.options.axis === "x" || this._isFloating( this.items[ 0 ].item ) :
                            Severity: Minor
                            Found in app/assets/javascripts/jquery-ui.js - About 1 hr to fix

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

                                  _updateDatepicker: function(inst) {
                                      this.maxRows = 4; //Reset the max number of rows being displayed (see #7043)
                                      datepicker_instActive = inst; // for delegate hover events
                                      inst.dpDiv.empty().append(this._generateHTML(inst));
                                      this._attachHandlers(inst);
                              Severity: Minor
                              Found in app/assets/javascripts/jquery-ui.js - About 1 hr to fix

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

                                        top: function( position, data ) {
                                            var within = data.within,
                                                withinOffset = within.offset.top + within.scrollTop,
                                                outerHeight = within.height,
                                                offsetTop = within.isWindow ? within.scrollTop : within.offset.top,
                                Severity: Minor
                                Found in app/assets/javascripts/jquery-ui.js - About 1 hr to fix

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

                                      _size: function() {
                                          // If the user has resized the dialog, the .ui-dialog and .ui-dialog-content
                                          // divs will both have width and height set, so we need to reset them
                                          var nonContentHeight, minContentHeight, maxContentHeight,
                                              options = this.options;
                                  Severity: Minor
                                  Found in app/assets/javascripts/jquery-ui.js - About 1 hr to fix

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

                                        _createRange: function() {
                                            var options = this.options,
                                                classes = "";
                                    
                                            if ( options.range ) {
                                    Severity: Minor
                                    Found in app/assets/javascripts/jquery-ui.js - About 1 hr to fix

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

                                          _refreshItems: function(event) {
                                      
                                              this.items = [];
                                              this.containers = [this];
                                      
                                      
                                      Severity: Minor
                                      Found in app/assets/javascripts/jquery-ui.js - About 1 hr to fix

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

                                            _mouseStop: function(event) {
                                        
                                                this.resizing = false;
                                                var pr, ista, soffseth, soffsetw, s, left, top,
                                                    o = this.options, that = this;
                                        Severity: Minor
                                        Found in app/assets/javascripts/jquery-ui.js - About 1 hr to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language