sfstanley/citydogshare

View on GitHub

Showing 257 of 576 total issues

Function start has 51 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    start: function() {
        var element, p, co, ch, cw, width, height,
            that = $( this ).resizable( "instance" ),
            o = that.options,
            el = that.element,
Severity: Major
Found in app/assets/javascripts/jquery-ui.js - About 2 hrs to fix

    Function blind has 51 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

    var effectBlind = $.effects.effect.blind = function( o, done ) {
        // Create element
        var el = $( this ),
            rvertical = /up|down|vertical/,
            rpositivemotion = /up|left|vertical|horizontal/,
    Severity: Major
    Found in app/assets/javascripts/jquery-ui.js - About 2 hrs to fix

      Function _exit has 50 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

              _exit: function( callback ) {
      
                  fullscreen.active = false;
      
                  var inBrowser = !self._options.trueFullscreen || !_nativeFullscreen.support,
      Severity: Minor
      Found in app/assets/javascripts/galleria-1.4.2.js - About 2 hrs to fix

        Function animateClass has 50 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

        $.effects.animateClass = function( value, duration, easing, callback ) {
            var o = $.speed( duration, easing, callback );
        
            return this.queue( function() {
                var animated = $( this ),
        Severity: Minor
        Found in app/assets/javascripts/jquery-ui.js - About 2 hrs to fix

          Function _makeResizable has 50 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

              _makeResizable: function() {
                  var that = this,
                      options = this.options,
                      handles = options.resizable,
                      // .ui-resizable has position: relative defined in the stylesheet
          Severity: Minor
          Found in app/assets/javascripts/jquery-ui.js - About 2 hrs to fix

            Function addTheme has 49 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

            Galleria.addTheme = function( theme ) {
            
                // make sure we have a name
                if ( !theme.name ) {
                    Galleria.raise('No theme name specified');
            Severity: Minor
            Found in app/assets/javascripts/galleria-1.4.2.js - About 1 hr to fix

              Function _setOption has 49 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

                  _setOption: function( key, value ) {
                      var isDraggable, isResizable,
                          uiDialog = this.uiDialog;
              
                      if ( key === "dialogClass" ) {
              Severity: Minor
              Found in app/assets/javascripts/jquery-ui.js - About 1 hr to fix

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

                                complete: function( next ) {
                
                                    // toggle low quality for IE
                                    if ( 'image' in active ) {
                                        Utils.toggleQuality( active.image, false );
                Severity: Minor
                Found in app/assets/javascripts/galleria-1.4.2.js - About 1 hr to fix

                  Function _determineDate has 48 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                      _determineDate: function(inst, date, defaultDate) {
                          var offsetNumeric = function(offset) {
                                  var date = new Date();
                                  date.setDate(date.getDate() + offset);
                                  return date;
                  Severity: Minor
                  Found in app/assets/javascripts/jquery-ui.js - About 1 hr to fix

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

                        _mouseCapture: function( event ) {
                            var position, normValue, distance, closestHandle, index, allowed, offset, mouseOverHandle,
                                that = this,
                                o = this.options;
                    
                    
                    Severity: Minor
                    Found in app/assets/javascripts/jquery-ui.js - About 1 hr to fix

                      Function scale has 47 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

                      var effectScale = $.effects.effect.scale = function( o, done ) {
                      
                          // Create element
                          var el = $( this ),
                              options = $.extend( true, {}, o ),
                      Severity: Minor
                      Found in app/assets/javascripts/jquery-ui.js - About 1 hr to fix

                        Function bridge has 46 lines of code (exceeds 25 allowed). Consider refactoring.
                        Open

                        $.widget.bridge = function( name, object ) {
                            var fullName = object.prototype.widgetFullName || name;
                            $.fn[ name ] = function( options ) {
                                var isMethodCall = typeof options === "string",
                                    args = widget_slice.call( arguments, 1 ),
                        Severity: Minor
                        Found in app/assets/javascripts/jquery-ui.js - About 1 hr to fix

                          Function _createWrapper has 46 lines of code (exceeds 25 allowed). Consider refactoring.
                          Open

                              _createWrapper: function() {
                                  this.uiDialog = $("<div>")
                                      .addClass( "ui-dialog ui-widget ui-widget-content ui-corner-all ui-front " +
                                          this.options.dialogClass )
                                      .hide()
                          Severity: Minor
                          Found in app/assets/javascripts/jquery-ui.js - About 1 hr to fix

                            Function _toggle has 46 lines of code (exceeds 25 allowed). Consider refactoring.
                            Open

                                _toggle: function( event, eventData ) {
                                    var that = this,
                                        toShow = eventData.newPanel,
                                        toHide = eventData.oldPanel;
                            
                            
                            Severity: Minor
                            Found in app/assets/javascripts/jquery-ui.js - About 1 hr to fix

                              Function fold has 46 lines of code (exceeds 25 allowed). Consider refactoring.
                              Open

                              var effectFold = $.effects.effect.fold = function( o, done ) {
                              
                                  // Create element
                                  var el = $( this ),
                                      props = [ "position", "top", "bottom", "left", "right", "height", "width" ],
                              Severity: Minor
                              Found in app/assets/javascripts/jquery-ui.js - About 1 hr to fix

                                Function _generatePosition has 46 lines of code (exceeds 25 allowed). Consider refactoring.
                                Open

                                    _generatePosition: function(event) {
                                
                                        var top, left,
                                            o = this.options,
                                            pageX = event.pageX,
                                Severity: Minor
                                Found in app/assets/javascripts/jquery-ui.js - About 1 hr to fix

                                  Function configFromStringAndFormat has 45 lines of code (exceeds 25 allowed). Consider refactoring.
                                  Open

                                      function configFromStringAndFormat(config) {
                                          // TODO: Move this to another part of the creation flow to prevent circular deps
                                          if (config._f === utils_hooks__hooks.ISO_8601) {
                                              configFromISO(config);
                                              return;
                                  Severity: Minor
                                  Found in app/assets/javascripts/moment.js - About 1 hr to fix

                                    Function data_options has 45 lines of code (exceeds 25 allowed). Consider refactoring.
                                    Open

                                          data_options : function (el, data_attr_name) {
                                            data_attr_name = data_attr_name || 'options';
                                            var opts = {}, ii, p, opts_arr,
                                                data_options = function (el) {
                                                  var namespace = Foundation.global.namespace;
                                    Severity: Minor
                                    Found in app/assets/javascripts/foundation.js - About 1 hr to fix

                                      Function _destroy has 45 lines of code (exceeds 25 allowed). Consider refactoring.
                                      Open

                                          _destroy: function() {
                                              if ( this.xhr ) {
                                                  this.xhr.abort();
                                              }
                                      
                                      
                                      Severity: Minor
                                      Found in app/assets/javascripts/jquery-ui.js - About 1 hr to fix

                                        Function _tabKeydown has 45 lines of code (exceeds 25 allowed). Consider refactoring.
                                        Open

                                            _tabKeydown: function( event ) {
                                                var focusedTab = $( this.document[0].activeElement ).closest( "li" ),
                                                    selectedIndex = this.tabs.index( focusedTab ),
                                                    goingForward = true;
                                        
                                        
                                        Severity: Minor
                                        Found in app/assets/javascripts/jquery-ui.js - About 1 hr to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language