angelakuo/citydogshare

View on GitHub

Showing 3,976 of 3,976 total issues

Function style has 35 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    style: function( elem, name, value, extra ) {

        // Don't set styles on text and comment nodes
        if ( !elem || elem.nodeType === 3 || elem.nodeType === 8 || !elem.style ) {
            return;

    Function setOptions has 35 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        function setOptions(newOptionHash) {
            var optionCnt = 0;
            var optionName;
    
            for (optionName in newOptionHash) {

      Function style has 35 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

          style: function( elem, name, value, extra ) {
      
              // Don't set styles on text and comment nodes
              if ( !elem || elem.nodeType === 3 || elem.nodeType === 8 || !elem.style ) {
                  return;

        Function compileNode has 35 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

            Arr.prototype.compileNode = function(o) {
              var answer, compiledObjs, fragments, index, j, len1, obj;
              if (!this.objects.length) {
                return [this.makeCode('[]')];
              }

          Function outdentToken has 35 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

              Lexer.prototype.outdentToken = function(moveOut, noNewlines, outdentLength) {
                var decreasedIndent, dent, lastIndent, ref2;
                decreasedIndent = this.indent - moveOut;
                while (moveOut > 0) {
                  lastIndent = this.indents[this.indents.length - 1];

            Function ObjectContaining has 35 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

            getJasmineRequireObj().ObjectContaining = function(j$) {
            
              function ObjectContaining(sample) {
                this.sample = sample;
              }

              Function ReportDispatcher has 35 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

              getJasmineRequireObj().ReportDispatcher = function() {
                function ReportDispatcher(methods) {
              
                  var dispatchedMethods = methods || [];
              
              

                Function parse has 35 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                        JSON.parse = function (text, reviver) {
                
                // The parse method takes a text and an optional reviver function, and returns
                // a JavaScript value if the text is a valid JSON text.
                
                

                  Function specDone has 35 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                      this.specDone = function(result) {
                        if(noExpectations(result) && typeof console !== 'undefined' && typeof console.error !== 'undefined') {
                          console.error('Spec \'' + result.fullName + '\' has no expectations.');
                        }
                  
                  

                    Function deactivate has 35 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                    DatePicker.prototype.deactivate = function( type, datesToDisable ) {
                    
                        var calendar = this,
                            disabledItems = calendar.item.disable.slice(0)
                    
                    

                      Function _mouseCapture has 35 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

                          _mouseCapture: function(event, overrideHandle) {
                              var currentItem = null,
                                  validHandle = false,
                                  that = this;
                      
                      

                        Function effect has 35 lines of code (exceeds 25 allowed). Consider refactoring.
                        Open

                            effect: function( /* effect, options, speed, callback */ ) {
                                var args = _normalizeArguments.apply( this, arguments ),
                                    mode = args.mode,
                                    queue = args.queue,
                                    effectMethod = $.effects.effect[ args.effect ];

                          Function pulsate has 35 lines of code (exceeds 25 allowed). Consider refactoring.
                          Open

                          return $.effects.effect.pulsate = function( o, done ) {
                              var elem = $( this ),
                                  mode = $.effects.setMode( elem, o.mode || "show" ),
                                  show = mode === "show",
                                  hide = mode === "hide",

                            Function effect has 35 lines of code (exceeds 25 allowed). Consider refactoring.
                            Open

                                effect: function( /* effect, options, speed, callback */ ) {
                                    var args = _normalizeArguments.apply( this, arguments ),
                                        mode = args.mode,
                                        queue = args.queue,
                                        effectMethod = $.effects.effect[ args.effect ];

                              Function _resetButton has 35 lines of code (exceeds 25 allowed). Consider refactoring.
                              Open

                                  _resetButton: function() {
                                      if ( this.type === "input" ) {
                                          if ( this.options.label ) {
                                              this.element.val( this.options.label );
                                          }

                                Function cancel has 35 lines of code (exceeds 25 allowed). Consider refactoring.
                                Open

                                    cancel: function() {
                                
                                        if(this.dragging) {
                                
                                            this._mouseUp({ target: null });

                                  Function _mouseStart has 35 lines of code (exceeds 25 allowed). Consider refactoring.
                                  Open

                                      _mouseStart: function(event) {
                                  
                                          var o = this.options;
                                  
                                          //Create and append the visible helper

                                    Function slide has 35 lines of code (exceeds 25 allowed). Consider refactoring.
                                    Open

                                    return $.effects.effect.slide = function( o, done ) {
                                    
                                        // Create element
                                        var el = $( this ),
                                            props = [ "position", "top", "bottom", "left", "right", "width", "height" ],

                                      Function _resetButton has 35 lines of code (exceeds 25 allowed). Consider refactoring.
                                      Open

                                          _resetButton: function() {
                                              if ( this.type === "input" ) {
                                                  if ( this.options.label ) {
                                                      this.element.val( this.options.label );
                                                  }

                                        Function _mouseStart has 35 lines of code (exceeds 25 allowed). Consider refactoring.
                                        Open

                                            _mouseStart: function(event) {
                                        
                                                var o = this.options;
                                        
                                                //Create and append the visible helper
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language