angelakuo/citydogshare

View on GitHub

Showing 3,976 of 3,976 total issues

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

    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

      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

        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

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

            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:

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

                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

                  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

                    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 ],

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

                          _createPlaceholder: function(that) {
                              that = that || this;
                              var className,
                                  o = that.options;
                      
                      

                        Function w has 12 arguments (exceeds 4 allowed). Consider refactoring.
                        Open

                        m&&l&&(g+=l);g=g+a+n;e&&(g+=e);h&&(g=h(g,q));return g}function w(b,f,c,d,e,h,q,k,l,r,n,a){var m;b="";n&&(a=n(a));if(!a||"string"!==typeof a)return!1;k&&a.substring(0,k.length)===k&&(a=a.replace(k,""),m=!0);d&&a.substring(0,d.length)===d&&(a=a.replace(d,""));l&&a.substring(0,l.length)===l&&(a=a.replace(l,""),m=!0);e&&a.slice(-1*e.length)===e&&(a=a.slice(0,-1*e.length));f&&(a=a.split(f).join(""));c&&(a=a.replace(c,"."));m&&(b+="-");b=Number((b+a).replace(/[^0-9\.\-.]/g,""));q&&(b=q(b));return"number"===

                          Function v has 12 arguments (exceeds 4 allowed). Consider refactoring.
                          Open

                          (function(){function r(b){return b.split("").reverse().join("")}function s(b,f,c){if((b[f]||b[c])&&b[f]===b[c])throw Error(f);}function v(b,f,c,d,e,p,q,k,l,h,n,a){q=a;var m,g=n="";p&&(a=p(a));if("number"!==typeof a||!isFinite(a))return!1;b&&0===parseFloat(a.toFixed(b))&&(a=0);0>a&&(m=!0,a=Math.abs(a));b&&(p=Math.pow(10,b),a=(Math.round(a*p)/p).toFixed(b));a=a.toString();-1!==a.indexOf(".")&&(b=a.split("."),a=b[0],c&&(n=c+b[1]));f&&(a=r(a).match(/.{1,3}/g),a=r(a.join(r(f))));m&&k&&(g+=k);d&&(g+=d);

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

                            function ajaxHandleResponses( s, jqXHR, responses ) {
                            
                                var ct, type, finalDataType, firstDataType,
                                    contents = s.contents,
                                    dataTypes = s.dataTypes;

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

                                  when: function( subordinate /* , ..., subordinateN */ ) {
                                      var i = 0,
                                          resolveValues = slice.call( arguments ),
                                          length = resolveValues.length,
                              
                              

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

                                    updateDayTable: function() {
                                        var view = this.view;
                                        var date = this.start.clone();
                                        var dayIndex = -1;
                                        var dayIndices = [];

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

                                              error: function(xhr, status, httpMessage) {
                                                var
                                                  errorMessage = (settings.error[status] !== undefined)
                                                    ? settings.error[status]
                                                    : httpMessage,

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

                                    function ajaxHandleResponses( s, jqXHR, responses ) {
                                    
                                        var ct, type, finalDataType, firstDataType,
                                            contents = s.contents,
                                            dataTypes = s.dataTypes;

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

                                                show: function(callback) {
                                                  callback = $.isFunction(callback)
                                                    ? callback
                                                    : function(){}
                                                  ;

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

                                            Lexer.prototype.makeDelimitedLiteral = function(body, options) {
                                              var regex;
                                              if (options == null) {
                                                options = {};
                                              }
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language