angelakuo/citydogshare

View on GitHub

Showing 3,976 of 3,976 total issues

Function _createWidget has 28 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    _createWidget: function( options, element ) {
        element = $( element || this.defaultElement || this )[ 0 ];
        this.element = $( element );
        this.uuid = widget_uuid++;
        this.eventNamespace = "." + this.widgetName + this.uuid;

    Function transfer has 28 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

    return $.effects.effect.transfer = function( o, done ) {
        var elem = $( this ),
            target = $( o.to ),
            targetFixed = target.css( "position" ) === "fixed",
            body = $("body"),

      Function _createWidget has 28 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

          _createWidget: function( options, element ) {
              element = $( element || this.defaultElement || this )[ 0 ];
              this.element = $( element );
              this.uuid = widget_uuid++;
              this.eventNamespace = "." + this.widgetName + this.uuid;

        Function _createWidget has 28 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

            _createWidget: function( options, element ) {
                element = $( element || this.defaultElement || this )[ 0 ];
                this.element = $( element );
                this.uuid = widget_uuid++;
                this.eventNamespace = "." + this.widgetName + this.uuid;

          Function puff has 28 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

          return $.effects.effect.puff = function( o, done ) {
              var elem = $( this ),
                  mode = $.effects.setMode( elem, o.mode || "hide" ),
                  hide = mode === "hide",
                  percent = parseInt( o.percent, 10 ) || 150,

            Function _createWidget has 28 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

                _createWidget: function( options, element ) {
                    element = $( element || this.defaultElement || this )[ 0 ];
                    this.element = $( element );
                    this.uuid = widget_uuid++;
                    this.eventNamespace = "." + this.widgetName + this.uuid;

              Function highlight has 28 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

              return $.effects.effect.highlight = function( o, done ) {
                  var elem = $( this ),
                      props = [ "backgroundImage", "backgroundColor", "opacity" ],
                      mode = $.effects.setMode( elem, o.mode || "show" ),
                      animation = {

                Function _destroy has 28 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                    _destroy: function() {
                        // Destroy (sub)menus
                        this.element
                            .removeAttr( "aria-activedescendant" )
                            .find( ".ui-menu" ).addBack()

                  Function puff has 28 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                  return $.effects.effect.puff = function( o, done ) {
                      var elem = $( this ),
                          mode = $.effects.setMode( elem, o.mode || "hide" ),
                          hide = mode === "hide",
                          percent = parseInt( o.percent, 10 ) || 150,

                    Function _createWidget has 28 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                        _createWidget: function( options, element ) {
                            element = $( element || this.defaultElement || this )[ 0 ];
                            this.element = $( element );
                            this.uuid = widget_uuid++;
                            this.eventNamespace = "." + this.widgetName + this.uuid;

                      Function transfer has 28 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

                      return $.effects.effect.transfer = function( o, done ) {
                          var elem = $( this ),
                              target = $( o.to ),
                              targetFixed = target.css( "position" ) === "fixed",
                              body = $("body"),

                        Function _destroy has 28 lines of code (exceeds 25 allowed). Consider refactoring.
                        Open

                            _destroy: function() {
                                // Destroy (sub)menus
                                this.element
                                    .removeAttr( "aria-activedescendant" )
                                    .find( ".ui-menu" ).addBack()

                          Function _initSource has 28 lines of code (exceeds 25 allowed). Consider refactoring.
                          Open

                              _initSource: function() {
                                  var array, url,
                                      that = this;
                                  if ( $.isArray( this.options.source ) ) {
                                      array = this.options.source;

                            Function _getWH has 28 lines of code (exceeds 25 allowed). Consider refactoring.
                            Open

                                _getWH : function() {
                            
                                    var $container = this.$( 'container' ),
                                        $target = this.$( 'target' ),
                                        self = this,

                              Function assertions has 28 lines of code (exceeds 25 allowed). Consider refactoring.
                              Open

                                  var assertions = function() {
                                    var expected = [
                                      "topSuite beforeEach",
                                      "outer beforeEach",
                                      "outer it 1",

                                Function blankInputs has 28 lines of code (exceeds 25 allowed). Consider refactoring.
                                Open

                                    blankInputs: function(form, specifiedSelector, nonBlank) {
                                      var foundInputs = $(),
                                        input,
                                        valueToCheck,
                                        radiosForNameWithNoneSelected,

                                  Function removeTag has 28 lines of code (exceeds 25 allowed). Consider refactoring.
                                  Open

                                          removeTag: function(tag, animate, removeOnly) {
                                              var that = this;
                                  
                                              if (this.options.pruneTags && !removeOnly) {
                                                  that.pruneTag(tag)

                                    Function assertions has 28 lines of code (exceeds 25 allowed). Consider refactoring.
                                    Open

                                        var assertions = function() {
                                          var expected = [
                                            'topSuite beforeEach',
                                            'outer beforeEach',
                                            'outer it 2',

                                      Function _createWidget has 28 lines of code (exceeds 25 allowed). Consider refactoring.
                                      Open

                                          _createWidget: function( options, element ) {
                                              element = $( element || this.defaultElement || this )[ 0 ];
                                              this.element = $( element );
                                              this.uuid = widget_uuid++;
                                              this.eventNamespace = "." + this.widgetName + this.uuid;

                                        Function highlight has 28 lines of code (exceeds 25 allowed). Consider refactoring.
                                        Open

                                        var effectHighlight = $.effects.effect.highlight = function( o, done ) {
                                            var elem = $( this ),
                                                props = [ "backgroundImage", "backgroundColor", "opacity" ],
                                                mode = $.effects.setMode( elem, o.mode || "show" ),
                                                animation = {
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language