angelakuo/citydogshare

View on GitHub

Showing 3,976 of 3,976 total issues

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 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 rescale has 35 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

          rescale : function( width, height, complete ) {
      
              var self = this;
      
              // allow rescale(fn)

        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 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 slide has 35 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

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

              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 pulsate has 35 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

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

                  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 _createTitlebar has 35 lines of code (exceeds 25 allowed). Consider refactoring.
                        Open

                            _createTitlebar: function() {
                                var uiDialogTitle;
                        
                                this.uiDialogTitlebar = $( "<div>" )
                                    .addClass( "ui-dialog-titlebar ui-widget-header ui-corner-all ui-helper-clearfix" )

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

                              _dialogDatepicker: function(input, date, onSelect, settings, pos) {
                                  var id, browserWidth, browserHeight, scrollX, scrollY,
                                      inst = this._dialogInst; // internal instance
                          
                                  if (!inst) {

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

                                _hideDatepicker: function(input) {
                                    var showAnim, duration, postProcess, onClose,
                                        inst = this._curInst;
                            
                                    if (!inst || (input && inst !== $.data(input, "datepicker"))) {

                              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 adjustCSS has 34 lines of code (exceeds 25 allowed). Consider refactoring.
                                Open

                                function adjustCSS( elem, prop, valueParts, tween ) {
                                    var adjusted,
                                        scale = 1,
                                        maxIterations = 20,
                                        currentValue = tween ?

                                  Function setOffset has 34 lines of code (exceeds 25 allowed). Consider refactoring.
                                  Open

                                      setOffset: function( elem, options, i ) {
                                          var curPosition, curLeft, curCSSTop, curTop, curOffset, curCSSLeft, calculatePosition,
                                              position = jQuery.css( elem, "position" ),
                                              curElem = jQuery( elem ),
                                              props = {};

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

                                    jQuery.fn.load = function( url, params, callback ) {
                                        if ( typeof url !== "string" && _load ) {
                                            return _load.apply( this, arguments );
                                        }
                                    
                                    

                                      Function elementCalculations has 34 lines of code (exceeds 25 allowed). Consider refactoring.
                                      Open

                                                elementCalculations: function() {
                                                  var
                                                    screen  = module.get.screenCalculations(),
                                                    element = module.get.elementPosition()
                                                  ;

                                        Function initialRender has 34 lines of code (exceeds 25 allowed). Consider refactoring.
                                        Open

                                            function initialRender() {
                                                element.addClass('fc');
                                        
                                                // event delegation for nav links
                                                element.on('click.fc', 'a[data-goto]', function(ev) {
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language