angelakuo/citydogshare

View on GitHub

Showing 2,136 of 3,976 total issues

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

    function diff (input, units, asFloat) {
        var that,
            zoneDelta,
            delta, output;

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

        function startOf (units) {
            units = normalizeUnits(units);
            // the following switch intentionally omits break keywords
            // to utilize falling through the cases.
            switch (units) {

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

          function iso_string__toISOString() {
              // for ISO strings we do not use the normal bubbling rules:
              //  * milliseconds bubble up until they become hours
              //  * days do not bubble at all
              //  * months bubble up until they become years

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

            _refreshValue: function() {
                var value = this.options.value,
                    percentage = this._percentage();
        
                this.valueDiv

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

              transition: function( other, distance ) {
                  var end = color( other ),
                      spaceName = end._space(),
                      space = spaces[ spaceName ],
                      startColor = this.alpha() === 0 ? color( "transparent" ) : this,

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

                _refresh: function() {
                    this._setupDisabled( this.options.disabled );
                    this._setupEvents( this.options.event );
                    this._setupHeightStyle( this.options.heightStyle );
            
            

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

                  transition: function( other, distance ) {
                      var end = color( other ),
                          spaceName = end._space(),
                          space = spaces[ spaceName ],
                          startColor = this.alpha() === 0 ? color( "transparent" ) : this,

                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 );
                
                

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

                      _drop: function( event, custom ) {
                  
                          var draggable = custom || $.ui.ddmanager.current,
                              childrenIntersection = false;
                  
                  

                    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,

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

                          transition: function( other, distance ) {
                              var end = color( other ),
                                  spaceName = end._space(),
                                  space = spaces[ spaceName ],
                                  startColor = this.alpha() === 0 ? color( "transparent" ) : this,

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

                            transition: function( other, distance ) {
                                var end = color( other ),
                                    spaceName = end._space(),
                                    space = spaces[ spaceName ],
                                    startColor = this.alpha() === 0 ? color( "transparent" ) : this,

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

                              transition: function( other, distance ) {
                                  var end = color( other ),
                                      spaceName = end._space(),
                                      space = spaces[ spaceName ],
                                      startColor = this.alpha() === 0 ? color( "transparent" ) : this,

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

                                transition: function( other, distance ) {
                                    var end = color( other ),
                                        spaceName = end._space(),
                                        space = spaces[ spaceName ],
                                        startColor = this.alpha() === 0 ? color( "transparent" ) : this,

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

                                  transition: function( other, distance ) {
                                      var end = color( other ),
                                          spaceName = end._space(),
                                          space = spaces[ spaceName ],
                                          startColor = this.alpha() === 0 ? color( "transparent" ) : this,

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

                                    transition: function( other, distance ) {
                                        var end = color( other ),
                                            spaceName = end._space(),
                                            space = spaces[ spaceName ],
                                            startColor = this.alpha() === 0 ? color( "transparent" ) : this,

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

                                      transition: function( other, distance ) {
                                          var end = color( other ),
                                              spaceName = end._space(),
                                              space = spaces[ spaceName ],
                                              startColor = this.alpha() === 0 ? color( "transparent" ) : this,

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

                                        transition: function( other, distance ) {
                                            var end = color( other ),
                                                spaceName = end._space(),
                                                space = spaces[ spaceName ],
                                                startColor = this.alpha() === 0 ? color( "transparent" ) : this,

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

                                          transition: function( other, distance ) {
                                              var end = color( other ),
                                                  spaceName = end._space(),
                                                  space = spaces[ spaceName ],
                                                  startColor = this.alpha() === 0 ? color( "transparent" ) : this,

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

                                                complete: function() {
                                                    if ( el.to.opacity === 0 ) {
                                                        el.css( "opacity", el.from.opacity );
                                                    }
                                                    if ( mode === "hide" ) {
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language