angelakuo/citydogshare

View on GitHub

Showing 2,136 of 3,976 total issues

Function localeMonthsParse has 27 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    function localeMonthsParse (monthName, format, strict) {
        var i, mom, regex;

        if (this._monthsParseExact) {
            return units_month__handleStrictParse.call(this, monthName, format, strict);

    Function listWeekdaysImpl has 27 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        function listWeekdaysImpl (localeSorted, format, index, field) {
            if (typeof localeSorted === 'boolean') {
                if (typeof format === 'number') {
                    index = format;
                    format = undefined;

      Function top has 27 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

              top: function( position, data ) {
                  var within = data.within,
                      withinOffset = within.isWindow ? within.scrollTop : within.offset.top,
                      outerHeight = data.within.height,
                      collisionPosTop = position.top - data.collisionPosition.marginTop,

        Function _setupHeightStyle has 27 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

            _setupHeightStyle: function( heightStyle ) {
                var maxHeight,
                    parent = this.element.parent();
        
                if ( heightStyle === "fill" ) {

          Function getDimensions has 27 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

          function getDimensions( elem ) {
              var raw = elem[0];
              if ( raw.nodeType === 9 ) {
                  return {
                      width: elem.width(),

            Function refresh has 27 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

                refresh: function() {
                    //See #8237 & #8828
                    var isDisabled = this.element.is( "input, button" ) ? this.element.is( ":disabled" ) : this.element.hasClass( "ui-button-disabled" );
            
                    if ( isDisabled !== this.options.disabled ) {

              Function getDimensions has 27 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

              function getDimensions( elem ) {
                  var raw = elem[0];
                  if ( raw.nodeType === 9 ) {
                      return {
                          width: elem.width(),

                Function left has 27 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                        left: function( position, data ) {
                            var within = data.within,
                                withinOffset = within.isWindow ? within.scrollLeft : within.offset.left,
                                outerWidth = within.width,
                                collisionPosLeft = position.left - data.collisionPosition.marginLeft,

                  Function left has 27 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                          left: function( position, data ) {
                              var within = data.within,
                                  withinOffset = within.isWindow ? within.scrollLeft : within.offset.left,
                                  outerWidth = within.width,
                                  collisionPosLeft = position.left - data.collisionPosition.marginLeft,

                    Function _updateVirtualBoundaries has 27 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                        _updateVirtualBoundaries: function(forceAspectRatio) {
                            var pMinWidth, pMaxWidth, pMinHeight, pMaxHeight, b,
                                o = this.options;
                    
                            b = {

                      Function top has 27 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

                              top: function( position, data ) {
                                  var within = data.within,
                                      withinOffset = within.isWindow ? within.scrollTop : within.offset.top,
                                      outerHeight = data.within.height,
                                      collisionPosTop = position.top - data.collisionPosition.marginTop,

                        Function refresh has 27 lines of code (exceeds 25 allowed). Consider refactoring.
                        Open

                            refresh: function() {
                                //See #8237 & #8828
                                var isDisabled = this.element.is( "input, button" ) ? this.element.is( ":disabled" ) : this.element.hasClass( "ui-button-disabled" );
                        
                                if ( isDisabled !== this.options.disabled ) {

                          Function left has 27 lines of code (exceeds 25 allowed). Consider refactoring.
                          Open

                                  left: function( position, data ) {
                                      var within = data.within,
                                          withinOffset = within.isWindow ? within.scrollLeft : within.offset.left,
                                          outerWidth = within.width,
                                          collisionPosLeft = position.left - data.collisionPosition.marginLeft,

                            Function left has 27 lines of code (exceeds 25 allowed). Consider refactoring.
                            Open

                                    left: function( position, data ) {
                                        var within = data.within,
                                            withinOffset = within.isWindow ? within.scrollLeft : within.offset.left,
                                            outerWidth = within.width,
                                            collisionPosLeft = position.left - data.collisionPosition.marginLeft,

                              Function top has 27 lines of code (exceeds 25 allowed). Consider refactoring.
                              Open

                                      top: function( position, data ) {
                                          var within = data.within,
                                              withinOffset = within.isWindow ? within.scrollTop : within.offset.top,
                                              outerHeight = data.within.height,
                                              collisionPosTop = position.top - data.collisionPosition.marginTop,

                                Function getDimensions has 27 lines of code (exceeds 25 allowed). Consider refactoring.
                                Open

                                function getDimensions( elem ) {
                                    var raw = elem[0];
                                    if ( raw.nodeType === 9 ) {
                                        return {
                                            width: elem.width(),

                                  Function _updateVirtualBoundaries has 27 lines of code (exceeds 25 allowed). Consider refactoring.
                                  Open

                                      _updateVirtualBoundaries: function(forceAspectRatio) {
                                          var pMinWidth, pMaxWidth, pMinHeight, pMaxHeight, b,
                                              o = this.options;
                                  
                                          b = {

                                    Function getDimensions has 27 lines of code (exceeds 25 allowed). Consider refactoring.
                                    Open

                                    function getDimensions( elem ) {
                                        var raw = elem[0];
                                        if ( raw.nodeType === 9 ) {
                                            return {
                                                width: elem.width(),

                                      Function top has 27 lines of code (exceeds 25 allowed). Consider refactoring.
                                      Open

                                              top: function( position, data ) {
                                                  var within = data.within,
                                                      withinOffset = within.isWindow ? within.scrollTop : within.offset.top,
                                                      outerHeight = data.within.height,
                                                      collisionPosTop = position.top - data.collisionPosition.marginTop,

                                        Function refresh has 27 lines of code (exceeds 25 allowed). Consider refactoring.
                                        Open

                                            refresh: function() {
                                                //See #8237 & #8828
                                                var isDisabled = this.element.is( "input, button" ) ? this.element.is( ":disabled" ) : this.element.hasClass( "ui-button-disabled" );
                                        
                                                if ( isDisabled !== this.options.disabled ) {
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language