angelakuo/citydogshare

View on GitHub

Showing 2,136 of 3,976 total issues

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

    function startOf (units) {
        units = normalizeUnits(units);
        // the following switch intentionally omits break keywords
        // to utilize falling through the cases.
        switch (units) {

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

        off: function( types, selector, fn ) {
            var handleObj, type;
            if ( types && types.preventDefault && types.handleObj ) {
    
                // ( event )  dispatched jQuery.Event

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

          addClass: function( value ) {
              var classes, elem, cur, curValue, clazz, j, finalValue,
                  i = 0;
      
              if ( jQuery.isFunction( value ) ) {

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

            fix: function( event ) {
                if ( event[ jQuery.expando ] ) {
                    return event;
                }
        
        

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

            function Order(options) {
              this.random = 'random' in options ? options.random : true;
              var seed = this.seed = options.seed || generateSeed();
              this.sort = this.random ? randomOrder : naturalOrder;
          
          

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

                  compare: function(actual, expected) {
                    var result = { pass: false },
                      threw = false,
                      thrown;
            
            

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

              getJasmineRequireObj().requireMatchers = function(jRequire, j$) {
                var availableMatchers = [
                    'toBe',
                    'toBeCloseTo',
                    'toBeDefined',

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

                    function bubble () {
                        var milliseconds = this._milliseconds;
                        var days         = this._days;
                        var months       = this._months;
                        var data         = this._data;

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

                      function valid__isValid(m) {
                          if (m._isValid == null) {
                              var flags = getParsingFlags(m);
                              var parsedParts = some.call(flags.parsedDateParts, function (i) {
                                  return i != null;

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