angelakuo/citydogshare

View on GitHub

Showing 3,976 of 3,976 total issues

Function DatePicker has 84 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function DatePicker( picker, settings ) {

    var calendar = this,
        element = picker.$node[ 0 ],
        elementValue = element.value,

    Function DatePicker has 84 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

    function DatePicker( picker, settings ) {
    
        var calendar = this,
            element = picker.$node[ 0 ],
            elementValue = element.value,

      Function _doKeyDown has 84 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

          _doKeyDown: function(event) {
              var onSelect, dateStr, sel,
                  inst = $.datepicker._getInst(event.target),
                  handled = true,
                  isRTL = inst.dpDiv.is(".ui-datepicker-rtl");

        Function changeTab has 83 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

                changeTab: function(tabPath) {
                  var
                    pushStateAvailable = (window.history && window.history.pushState),
                    shouldIgnoreLoad   = (pushStateAvailable && settings.ignoreFirstLoad && firstLoad),
                    remoteContent      = (settings.auto || $.isPlainObject(settings.apiSettings) ),

          Function collapsible has 83 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

            $.fn.collapsible = function(options) {
              var defaults = {
                  accordion: undefined
              };
          
          

            Function show has 83 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

                    show: function(index) {
            
                        lightbox.active = index = typeof index === 'number' ? index : self.getIndex() || 0;
            
                        if ( !lightbox.initialized ) {

              Function collapsible has 83 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

                $.fn.collapsible = function(options) {
                  var defaults = {
                      accordion: undefined
                  };
              
              

                Function success has 83 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                            success: function() {
                
                                // calculate some cropping
                                var newWidth = ( width - options.margin * 2 ) / self.original.width,
                                    newHeight = ( height - options.margin * 2 ) / self.original.height,

                  Function collapsible has 83 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                    $.fn.collapsible = function(options) {
                      var defaults = {
                          accordion: undefined
                      };
                  
                  

                    Function showTooltip has 82 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                              var showTooltip = function() {
                                setAttributes();
                                started = true;
                                tooltipEl.velocity('stop');
                                backdrop.velocity('stop');

                      Function showTooltip has 82 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

                                var showTooltip = function() {
                                  setAttributes();
                                  started = true;
                                  tooltipEl.velocity('stop');
                                  backdrop.velocity('stop');

                        Function showTooltip has 82 lines of code (exceeds 25 allowed). Consider refactoring.
                        Open

                                  var showTooltip = function() {
                                    setAttributes();
                                    started = true;
                                    tooltipEl.velocity('stop');
                                    backdrop.velocity('stop');

                          Function Sizzle has 81 lines of code (exceeds 25 allowed). Consider refactoring.
                          Open

                          function Sizzle( selector, context, results, seed ) {
                              var m, i, elem, nid, nidselect, match, groups, newSelector,
                                  newContext = context && context.ownerDocument,
                          
                                  // nodeType defaults to 9, since context defaults to document

                            Function Sizzle has 81 lines of code (exceeds 25 allowed). Consider refactoring.
                            Open

                            function Sizzle( selector, context, results, seed ) {
                                var m, i, elem, nid, nidselect, match, groups, newSelector,
                                    newContext = context && context.ownerDocument,
                            
                                    // nodeType defaults to 9, since context defaults to document

                              Function CHILD has 80 lines of code (exceeds 25 allowed). Consider refactoring.
                              Open

                                      "CHILD": function( type, what, argument, first, last ) {
                                          var simple = type.slice( 0, 3 ) !== "nth",
                                              forward = type.slice( -4 ) !== "last",
                                              ofType = what === "of-type";
                              
                              

                                Function CHILD has 80 lines of code (exceeds 25 allowed). Consider refactoring.
                                Open

                                        "CHILD": function( type, what, argument, first, last ) {
                                            var simple = type.slice( 0, 3 ) !== "nth",
                                                forward = type.slice( -4 ) !== "last",
                                                ofType = what === "of-type";
                                
                                

                                  Function Sizzle has 80 lines of code (exceeds 25 allowed). Consider refactoring.
                                  Open

                                  function Sizzle( selector, context, results, seed ) {
                                      var m, i, elem, nid, match, groups, newSelector,
                                          newContext = context && context.ownerDocument,
                                  
                                          // nodeType defaults to 9, since context defaults to document

                                    Function CHILD has 80 lines of code (exceeds 25 allowed). Consider refactoring.
                                    Open

                                            "CHILD": function( type, what, argument, first, last ) {
                                                var simple = type.slice( 0, 3 ) !== "nth",
                                                    forward = type.slice( -4 ) !== "last",
                                                    ofType = what === "of-type";
                                    
                                    

                                      Function hide has 79 lines of code (exceeds 25 allowed). Consider refactoring.
                                      Open

                                                hide: function(callback, $subMenu) {
                                                  var
                                                    $currentMenu = $subMenu || $menu,
                                                    duration = ($subMenu)
                                                      ? (settings.duration * 0.9)

                                        Function scroll has 79 lines of code (exceeds 25 allowed). Consider refactoring.
                                        Open

                                                function scroll(x) {
                                                  var i, half, delta, dir, tween, el, alignment, xTranslation;
                                        
                                                  offset = (typeof x === 'number') ? x : offset;
                                                  center = Math.floor((offset + dim / 2) / dim);
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language