angelakuo/citydogshare

View on GitHub

Showing 2,136 of 3,976 total issues

Consider simplifying this complex logical expression.
Open

                if ( ( mappedTypes || origType === handleObj.origType ) &&
                    ( !handler || handler.guid === handleObj.guid ) &&
                    ( !tmp || tmp.test( handleObj.namespace ) ) &&
                    ( !selector || selector === handleObj.selector ||
                        selector === "**" && handleObj.selector ) ) {

    Consider simplifying this complex logical expression.
    Open

        if ( !options || !options.nav ) if (
            /* 1 */ ( !isFlippedBase && calendar.disabled( dateObject ) ) ||
            /* 2 */ ( isFlippedBase && calendar.disabled( dateObject ) && ( hasEnabledWeekdays || hasEnabledBeforeTarget || hasEnabledAfterTarget ) ) ||
            /* 3 */ ( !isFlippedBase && (dateObject.pick <= minLimitObject.pick || dateObject.pick >= maxLimitObject.pick) )
        ) {

      Function validate has 50 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

      DatePicker.prototype.validate = function( type, dateObject, options ) {
      
          var calendar = this,
      
              // Keep a reference to the original date.

        Function onKeyDown has 50 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

                  onKeyDown = function(e){
                    // TAB - switch to another input
                    if(e.which == 9){
                      $newSelect.trigger('close');
                      return;

          Function prepareElementRoot has 50 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

              function prepareElementRoot() {
          
                  P.$root.
          
                      on({

            Function animateClass has 50 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

            $.effects.animateClass = function( value, duration, easing, callback ) {
                var o = $.speed( duration, easing, callback );
            
                return this.queue( function() {
                    var animated = $( this ),

              Function animateClass has 50 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

              $.effects.animateClass = function( value, duration, easing, callback ) {
                  var o = $.speed( duration, easing, callback );
              
                  return this.queue( function() {
                      var animated = $( this ),

                Function animateClass has 50 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                $.effects.animateClass = function( value, duration, easing, callback ) {
                    var o = $.speed( duration, easing, callback );
                
                    return this.queue( function() {
                        var animated = $( this ),

                  Function _makeResizable has 50 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                      _makeResizable: function() {
                          var that = this,
                              options = this.options,
                              handles = options.resizable,
                              // .ui-resizable has position: relative defined in the stylesheet

                    Function animateClass has 50 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                    $.effects.animateClass = function( value, duration, easing, callback ) {
                        var o = $.speed( duration, easing, callback );
                    
                        return this.queue( function() {
                            var animated = $( this ),

                      Function animateClass has 50 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

                      $.effects.animateClass = function( value, duration, easing, callback ) {
                          var o = $.speed( duration, easing, callback );
                      
                          return this.queue( function() {
                              var animated = $( this ),

                        Function animateClass has 50 lines of code (exceeds 25 allowed). Consider refactoring.
                        Open

                        $.effects.animateClass = function( value, duration, easing, callback ) {
                            var o = $.speed( duration, easing, callback );
                        
                            return this.queue( function() {
                                var animated = $( this ),

                          Function animateClass has 50 lines of code (exceeds 25 allowed). Consider refactoring.
                          Open

                          $.effects.animateClass = function( value, duration, easing, callback ) {
                              var o = $.speed( duration, easing, callback );
                          
                              return this.queue( function() {
                                  var animated = $( this ),

                            Function animateClass has 50 lines of code (exceeds 25 allowed). Consider refactoring.
                            Open

                            $.effects.animateClass = function( value, duration, easing, callback ) {
                                var o = $.speed( duration, easing, callback );
                            
                                return this.queue( function() {
                                    var animated = $( this ),

                              Function animateClass has 50 lines of code (exceeds 25 allowed). Consider refactoring.
                              Open

                              $.effects.animateClass = function( value, duration, easing, callback ) {
                                  var o = $.speed( duration, easing, callback );
                              
                                  return this.queue( function() {
                                      var animated = $( this ),

                                Function animateClass has 50 lines of code (exceeds 25 allowed). Consider refactoring.
                                Open

                                $.effects.animateClass = function( value, duration, easing, callback ) {
                                    var o = $.speed( duration, easing, callback );
                                
                                    return this.queue( function() {
                                        var animated = $( this ),

                                  Function animateClass has 50 lines of code (exceeds 25 allowed). Consider refactoring.
                                  Open

                                  $.effects.animateClass = function( value, duration, easing, callback ) {
                                      var o = $.speed( duration, easing, callback );
                                  
                                      return this.queue( function() {
                                          var animated = $( this ),

                                    Function animateClass has 50 lines of code (exceeds 25 allowed). Consider refactoring.
                                    Open

                                    $.effects.animateClass = function( value, duration, easing, callback ) {
                                        var o = $.speed( duration, easing, callback );
                                    
                                        return this.queue( function() {
                                            var animated = $( this ),

                                      Function animateClass has 50 lines of code (exceeds 25 allowed). Consider refactoring.
                                      Open

                                      $.effects.animateClass = function( value, duration, easing, callback ) {
                                          var o = $.speed( duration, easing, callback );
                                      
                                          return this.queue( function() {
                                              var animated = $( this ),

                                        Function animateClass has 50 lines of code (exceeds 25 allowed). Consider refactoring.
                                        Open

                                        $.effects.animateClass = function( value, duration, easing, callback ) {
                                            var o = $.speed( duration, easing, callback );
                                        
                                            return this.queue( function() {
                                                var animated = $( this ),
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language