sfstanley/citydogshare

View on GitHub

Showing 257 of 576 total issues

Function _enter has 136 lines of code (exceeds 25 allowed). Consider refactoring.
Open

        _enter: function( callback ) {

            fullscreen.active = true;

            if ( IFRAME ) {
Severity: Major
Found in app/assets/javascripts/galleria-1.4.2.js - About 5 hrs to fix

    Function _create has 134 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        _create: function() {
    
            var n, i, handle, axis, hname,
                that = this,
                o = this.options;
    Severity: Major
    Found in app/assets/javascripts/jquery-ui.js - About 5 hrs to fix

      Function _create has 128 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

              _create: function() {
                  // for handling static scoping inside callbacks
                  var that = this;
      
                  // There are 2 kinds of DOM nodes this widget can be instantiated on:
      Severity: Major
      Found in app/assets/javascripts/tag-it.js - About 5 hrs to fix

        Function _transitions has 128 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

            _transitions = (function() {
        
                var _slide = function(params, complete, fade, door) {
        
                    var easing = this.getOptions('easing'),
        Severity: Major
        Found in app/assets/javascripts/galleria-1.4.2.js - About 5 hrs to fix

          Function animate has 118 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

                      animate : (function() {
          
                          // detect transition
                          var transition = (function( style ) {
                              var props = 'transition WebkitTransition MozTransition OTransition'.split(' '),
          Severity: Major
          Found in app/assets/javascripts/galleria-1.4.2.js - About 4 hrs to fix

            Function _create has 115 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

                _create: function() {
                    this.element.closest( "form" )
                        .unbind( "reset" + this.eventNamespace )
                        .bind( "reset" + this.eventNamespace, formResetHandler );
            
            
            Severity: Major
            Found in app/assets/javascripts/jquery-ui.js - About 4 hrs to fix

              Function load has 110 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

                  load: function(src, size, callback) {
              
                      if ( typeof size == 'function' ) {
                          callback = size;
                          size = null;
              Severity: Major
              Found in app/assets/javascripts/galleria-1.4.2.js - About 4 hrs to fix

                Function _run has 98 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                    _run : function() {
                
                        var self = this;
                
                        self._createThumbnails();
                Severity: Major
                Found in app/assets/javascripts/galleria-1.4.2.js - About 3 hrs to fix

                  Consider simplifying this complex logical expression.
                  Open

                                              if (((key >= KEY0 && key <= KEY9) || (key >= _KEY0 && key <= _KEY9)) || (key === BACKSPACE || key === DEL)) {
                                                  pos = getCaretPos(this);
                                                  digit = (key !== BACKSPACE && key !== DEL) ? String.fromCharCode((_KEY0 <= key && key <= _KEY9) ? key - KEY0 : key) : '_';
                  
                                                  if ((key === BACKSPACE || key === DEL) && pos) {
                  Severity: Critical
                  Found in app/assets/javascripts/jquery.datetimepicker.js - About 3 hrs to fix

                    Function init has 90 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                            init : function() {
                    
                                if ( lightbox.initialized ) {
                                    return;
                                }
                    Severity: Major
                    Found in app/assets/javascripts/galleria-1.4.2.js - About 3 hrs to fix

                      Function complete has 90 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

                              var complete = (function( data, next, active, queue, thumb ) {
                      
                                  return function() {
                      
                                      var win;
                      Severity: Major
                      Found in app/assets/javascripts/galleria-1.4.2.js - About 3 hrs to fix

                        File tag-it.js has 308 lines of code (exceeds 250 allowed). Consider refactoring.
                        Open

                        /*
                        * jQuery UI Tag-it!
                        *
                        * @version v2.0 (06/2011)
                        *
                        Severity: Minor
                        Found in app/assets/javascripts/tag-it.js - About 3 hrs to fix

                          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");
                          Severity: Major
                          Found in app/assets/javascripts/jquery-ui.js - About 3 hrs to fix

                            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 ) {
                            Severity: Major
                            Found in app/assets/javascripts/galleria-1.4.2.js - About 3 hrs to fix

                              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,
                              Severity: Major
                              Found in app/assets/javascripts/galleria-1.4.2.js - About 3 hrs to fix

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

                                            success: function() {
                                
                                                // save the instance
                                                _galleries.push( self );
                                
                                
                                Severity: Major
                                Found in app/assets/javascripts/galleria-1.4.2.js - About 3 hrs to fix

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

                                      formatDate: function (format, date, settings) {
                                          if (!date) {
                                              return "";
                                          }
                                  
                                  
                                  Severity: Major
                                  Found in app/assets/javascripts/jquery-ui.js - About 3 hrs to fix

                                    Function _refresh has 76 lines of code (exceeds 25 allowed). Consider refactoring.
                                    Open

                                        _refresh: function() {
                                            var maxHeight,
                                                options = this.options,
                                                heightStyle = options.heightStyle,
                                                parent = this.element.parent();
                                    Severity: Major
                                    Found in app/assets/javascripts/jquery-ui.js - About 3 hrs to fix

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

                                          show : function( index, rewind, _history ) {
                                      
                                              var swipe = this._options.swipe;
                                      
                                              // do nothing queue is long || index is false || queue is false and transition is in progress
                                      Severity: Major
                                      Found in app/assets/javascripts/galleria-1.4.2.js - About 3 hrs to fix

                                        Function Datepicker has 76 lines of code (exceeds 25 allowed). Consider refactoring.
                                        Open

                                        function Datepicker() {
                                            this._curInst = null; // The current instance in use
                                            this._keyEvent = false; // If the last event was a key event
                                            this._disabledInputs = []; // List of date picker inputs that have been disabled
                                            this._datepickerShowing = false; // True if the popup picker is showing , false if not
                                        Severity: Major
                                        Found in app/assets/javascripts/jquery-ui.js - About 3 hrs to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language