angelakuo/citydogshare

View on GitHub

Showing 2,136 of 3,976 total issues

Function drop has 37 lines of code (exceeds 25 allowed). Consider refactoring.
Open

return $.effects.effect.drop = function( o, done ) {

    var el = $( this ),
        props = [ "position", "top", "bottom", "left", "right", "opacity", "height", "width" ],
        mode = $.effects.setMode( el, o.mode || "hide" ),

    Function drop has 37 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

    return $.effects.effect.drop = function( o, done ) {
    
        var el = $( this ),
            props = [ "position", "top", "bottom", "left", "right", "opacity", "height", "width" ],
            mode = $.effects.setMode( el, o.mode || "hide" ),

      Function createMonthLabel has 37 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

              createMonthLabel = function(override) {
      
                  var monthsCollection = settings.showMonthsShort ? settings.monthsShort : settings.monthsFull
      
                   // Materialize modified

        Function createMonthLabel has 37 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

                createMonthLabel = function(override) {
        
                    var monthsCollection = settings.showMonthsShort ? settings.monthsShort : settings.monthsFull
        
                     // Materialize modified

          Function _possibleChars has 37 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

              _possibleChars: function (format) {
                  var iFormat,
                      chars = "",
                      literal = false,
                      // Check whether a format character is doubled

            Function drop has 37 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

            var effectDrop = $.effects.effect.drop = function( o, done ) {
            
                var el = $( this ),
                    props = [ "position", "top", "bottom", "left", "right", "opacity", "height", "width" ],
                    mode = $.effects.setMode( el, o.mode || "hide" ),

              Function drag has 37 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

                  drag: function( draggable, event ) {
              
                      // If you have a highly dynamic page, you might try this option. It renders positions every time you move the mouse.
                      if ( draggable.options.refreshPositions ) {
                          $.ui.ddmanager.prepareOffsets( draggable, event );

                Function dispatch has 36 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                    dispatch: function( event ) {
                
                        // Make a writable jQuery.Event from the native event object
                        event = jQuery.event.fix( event );
                
                

                  Function fgSegHtml has 36 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                      fgSegHtml: function(seg) {
                          var view = this.view;
                          var classes = [ 'fc-list-item' ].concat(this.getSegCustomClasses(seg));
                          var bgColor = this.getSegBackgroundColor(seg);
                          var event = seg.event;

                    Function mightThrow has 36 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                                                    mightThrow = function() {
                                                        var returned, then;
                    
                                                        // Support: Promises/A+ section 2.3.3.3.3
                                                        // https://promisesaplus.com/#point-59

                      Function reset has 36 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

                              reset: function() {
                                $field
                                  .each(function () {
                                    var
                                      $field       = $(this),

                        Function eachName has 36 lines of code (exceeds 25 allowed). Consider refactoring.
                        Open

                            Param.prototype.eachName = function(iterator, name) {
                              var atParam, j, len1, node, obj, ref3;
                              if (name == null) {
                                name = this.name;
                              }

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

                              Class.prototype.compileNode = function(o) {
                                var args, argumentsNode, func, jumpNode, klass, lname, name, ref3, superClass;
                                if (jumpNode = this.body.jumps()) {
                                  jumpNode.error('Class bodies cannot contain pure statements');
                                }

                            Function tokenize has 36 lines of code (exceeds 25 allowed). Consider refactoring.
                            Open

                                Lexer.prototype.tokenize = function(code, opts) {
                                  var consumed, end, i, ref2;
                                  if (opts == null) {
                                    opts = {};
                                  }

                              Function clone has 36 lines of code (exceeds 25 allowed). Consider refactoring.
                              Open

                                  clone: function( elem, dataAndEvents, deepDataAndEvents ) {
                                      var destElements, node, clone, i, srcElements,
                                          inPage = jQuery.contains( elem.ownerDocument, elem );
                              
                                      if ( support.html5Clone || jQuery.isXMLDoc( elem ) ||

                                Function processNode has 36 lines of code (exceeds 25 allowed). Consider refactoring.
                                Open

                                    function processNode(node, parentEnabled) {
                                      var executableIndex = runnableIndex(node.id);
                                
                                      if (executableIndex !== undefined) {
                                        parentEnabled = true;

                                  Function toThrow has 36 lines of code (exceeds 25 allowed). Consider refactoring.
                                  Open

                                  getJasmineRequireObj().toThrow = function(j$) {
                                  
                                    var getErrorMsg = j$.formatErrorMsg('<toThrow>', 'expect(function() {<expectation>}).toThrow()');
                                  
                                    function toThrow(util) {

                                    Function dispatch has 36 lines of code (exceeds 25 allowed). Consider refactoring.
                                    Open

                                        dispatch: function( event ) {
                                    
                                            // Make a writable jQuery.Event from the native event object
                                            event = jQuery.event.fix( event );
                                    
                                    

                                      Function QueryString has 36 lines of code (exceeds 25 allowed). Consider refactoring.
                                      Open

                                        function QueryString(options) {
                                      
                                          this.navigateWithNewParam = function(key, value) {
                                            options.getWindowLocation().search = this.fullStringWithNewParam(key, value);
                                          };

                                        Function item has 36 lines of code (exceeds 25 allowed). Consider refactoring.
                                        Open

                                                                    item: function( targetDate ) {
                                        
                                                                        // Convert the time date from a relative date to a target date.
                                                                        targetDate = calendar.create([ viewsetObject.year, viewsetObject.month, targetDate + ( settings.firstDay ? 1 : 0 ) ])
                                        
                                        
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language