angelakuo/citydogshare

View on GitHub

Showing 2,136 of 3,976 total issues

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 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 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 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 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 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 = {};
                          }

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

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

                        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;

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

                              style: function( elem, name, value, extra ) {
                          
                                  // Don't set styles on text and comment nodes
                                  if ( !elem || elem.nodeType === 3 || elem.nodeType === 8 || !elem.style ) {
                                      return;

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

                                toggleClass: function( value, stateVal ) {
                                    var type = typeof value;
                            
                                    if ( typeof stateVal === "boolean" && type === "string" ) {
                                        return stateVal ? this.addClass( value ) : this.removeClass( value );

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

                                function buildExpectationResult(options) {
                                  var messageFormatter = options.messageFormatter || function() {},
                                    stackFormatter = options.stackFormatter || function() {};
                              
                                  var result = {

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

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

                                            createMonthLabel = function(override) {
                                    
                                                var monthsCollection = settings.showMonthsShort ? settings.monthsShort : settings.monthsFull
                                    
                                                 // Materialize modified

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

                                        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
                                          Category
                                          Status
                                          Source
                                          Language