sfstanley/citydogshare

View on GitHub

Showing 257 of 576 total issues

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

$.ui.intersect = (function() {
    function isOverAxis( x, reference, size ) {
        return ( x >= reference ) && ( x < ( reference + size ) );
    }

Severity: Minor
Found in app/assets/javascripts/jquery-ui.js - About 1 hr to fix

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

        _respectSize: function( data ) {
    
            var o = this._vBoundaries,
                a = this.axis,
                ismaxw = this._isNumber(data.width) && o.maxWidth && (o.maxWidth < data.width),
    Severity: Minor
    Found in app/assets/javascripts/jquery-ui.js - About 1 hr to fix

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

          close: function( event ) {
              var tooltip,
                  that = this,
                  target = $( event ? event.currentTarget : this.element ),
                  tooltipData = this._find( target );
      Severity: Minor
      Found in app/assets/javascripts/jquery-ui.js - About 1 hr to fix

        Function _on has 38 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

            _on: function( suppressDisabledCheck, element, handlers ) {
                var delegateElement,
                    instance = this;
        
                // no suppressDisabledCheck flag, shuffle arguments
        Severity: Minor
        Found in app/assets/javascripts/jquery-ui.js - About 1 hr to fix

          Function _scaleImage has 38 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

              _scaleImage : function( image, options ) {
          
                  image = image || this._controls.getActive();
          
                  // janpub (JH) fix:
          Severity: Minor
          Found in app/assets/javascripts/galleria-1.4.2.js - About 1 hr to fix

            Function _toggle has 38 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

                _toggle: function( data ) {
                    var toShow = data.newPanel,
                        toHide = this.prevShow.length ? this.prevShow : data.oldPanel;
            
                    // handle activating a panel during the animation for another activation
            Severity: Minor
            Found in app/assets/javascripts/jquery-ui.js - About 1 hr to fix

              Function drag has 38 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

                  drag: function( event, ui, i  ) {
              
                      var o = i.options,
                          scrolled = false,
                          scrollParent = i.scrollParentNotHidden[ 0 ],
              Severity: Minor
              Found in app/assets/javascripts/jquery-ui.js - About 1 hr to fix

                Function _createPlaceholder has 38 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

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

                  Function _drawButton has 38 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                      _drawButton: function() {
                          var that = this;
                  
                          // Associate existing label with the new button
                          this.label = $( "label[for='" + this.ids.element + "']" ).attr( "for", this.ids.button );
                  Severity: Minor
                  Found in app/assets/javascripts/jquery-ui.js - About 1 hr to fix

                    Function configFromArray has 37 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                        function configFromArray (config) {
                            var i, date, input = [], currentDate, yearToUse;
                    
                            if (config._d) {
                                return;
                    Severity: Minor
                    Found in app/assets/javascripts/moment.js - About 1 hr to fix

                      Function drop has 37 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

                      var effectDrop = $.effects.effect.drop = function( o, done ) {
                      
                          var el = $( this ),
                              props = [ "position", "top", "bottom", "left", "right", "opacity", "height", "width" ],
                              mode = $.effects.setMode( el, o.mode || "hide" ),
                      Severity: Minor
                      Found in app/assets/javascripts/jquery-ui.js - About 1 hr to fix

                        Function drag has 37 lines of code (exceeds 25 allowed). Consider refactoring.
                        Open

                            drag: function( draggable, event ) {
                        
                                // If you have a highly dynamic page, you might try this option. It renders positions every time you move the mouse.
                                if ( draggable.options.refreshPositions ) {
                                    $.ui.ddmanager.prepareOffsets( draggable, event );
                        Severity: Minor
                        Found in app/assets/javascripts/jquery-ui.js - About 1 hr to fix

                          Function _possibleChars has 37 lines of code (exceeds 25 allowed). Consider refactoring.
                          Open

                              _possibleChars: function (format) {
                                  var iFormat,
                                      chars = "",
                                      literal = false,
                                      // Check whether a format character is doubled
                          Severity: Minor
                          Found in app/assets/javascripts/jquery-ui.js - About 1 hr to fix

                            Function enter has 36 lines of code (exceeds 25 allowed). Consider refactoring.
                            Open

                                    enter: function( callback ) {
                            
                                        fullscreen.beforeEnter(function() {
                            
                                            callback = fullscreen.parseCallback( callback, true );
                            Severity: Minor
                            Found in app/assets/javascripts/galleria-1.4.2.js - About 1 hr to fix

                              Function clip has 36 lines of code (exceeds 25 allowed). Consider refactoring.
                              Open

                              var effectClip = $.effects.effect.clip = function( o, done ) {
                                  // Create element
                                  var el = $( this ),
                                      props = [ "position", "top", "bottom", "left", "right", "height", "width" ],
                                      mode = $.effects.setMode( el, o.mode || "hide" ),
                              Severity: Minor
                              Found in app/assets/javascripts/jquery-ui.js - About 1 hr to fix

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

                                    _resetButton: function() {
                                        if ( this.type === "input" ) {
                                            if ( this.options.label ) {
                                                this.element.val( this.options.label );
                                            }
                                Severity: Minor
                                Found in app/assets/javascripts/jquery-ui.js - About 1 hr to fix

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

                                      _dialogDatepicker: function(input, date, onSelect, settings, pos) {
                                          var id, browserWidth, browserHeight, scrollX, scrollY,
                                              inst = this._dialogInst; // internal instance
                                  
                                          if (!inst) {
                                  Severity: Minor
                                  Found in app/assets/javascripts/jquery-ui.js - About 1 hr to fix

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

                                        rescale : function( width, height, complete ) {
                                    
                                            var self = this;
                                    
                                            // allow rescale(fn)
                                    Severity: Minor
                                    Found in app/assets/javascripts/galleria-1.4.2.js - About 1 hr to fix

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

                                      var effectSlide = $.effects.effect.slide = function( o, done ) {
                                      
                                          // Create element
                                          var el = $( this ),
                                              props = [ "position", "top", "bottom", "left", "right", "width", "height" ],
                                      Severity: Minor
                                      Found in app/assets/javascripts/jquery-ui.js - About 1 hr to fix

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

                                        var effectPulsate = $.effects.effect.pulsate = function( o, done ) {
                                            var elem = $( this ),
                                                mode = $.effects.setMode( elem, o.mode || "show" ),
                                                show = mode === "show",
                                                hide = mode === "hide",
                                        Severity: Minor
                                        Found in app/assets/javascripts/jquery-ui.js - About 1 hr to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language