angelakuo/citydogshare

View on GitHub

Showing 3,976 of 3,976 total issues

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 _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 _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 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 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 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 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 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 _setOption has 27 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

                          _setOption: function( key, value ) {
                              if ( key === "active" ) {
                                  // _activate() will handle invalid values and update this.options
                                  this._activate( value );
                                  return;

                        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 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 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 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 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 throttle has 27 lines of code (exceeds 25 allowed). Consider refactoring.
                                      Open

                                          function throttle(func, wait, options) {
                                              var context, args, result;
                                              var timeout = null;
                                              var previous = 0;
                                              options || (options = {});

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

                                            lazyLoadChunks: function( size, delay ) {
                                        
                                                var len = this.getDataLength(),
                                                    i = 0,
                                                    n = 0,
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language