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

        _create: function() {
            var selectees,
                that = this;
    
            this.element.addClass("ui-selectable");

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

            _mouseDrag: function(event) {
        
                var data, props,
                    smp = this.originalMousePosition,
                    a = this.axis,

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

                                _mouseDrag: function(event) {
                            
                                    var data, props,
                                        smp = this.originalMousePosition,
                                        a = this.axis,

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

                                    _createOverlay: function() {
                                        if ( !this.options.modal ) {
                                            return;
                                        }
                                
                                

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

                                        values: function( index, newValue ) {
                                            var vals,
                                                newValues,
                                                i;
                                    
                                    

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