angelakuo/citydogshare

View on GitHub

Showing 2,136 of 3,976 total issues

Function bindHandlers has 33 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    bindHandlers: function() {
        var _this = this;
        var touchStartIgnores = 1;

        if (this.isTouch) {

    Function mergeProps has 33 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

    function mergeProps(propObjs, complexProps) {
        var dest = {};
        var i, name;
        var complexObjs;
        var j, val;

      Function renderNumberCellHtml has 33 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

          renderNumberCellHtml: function(date) {
              var html = '';
              var classes;
              var weekCalcFirstDoW;
      
      

        Function distributeHeight has 33 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

        function distributeHeight(els, availableHeight, shouldRedistribute) {
        
            // *FLOORING NOTE*: we floor in certain places because zoom can give inaccurate floating-point dimensions,
            // and it is better to be shorter than taller, to avoid creating unnecessary scrollbars.
        
        

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

                  show: function(callback) {
                    var
                      animateMethod = (settings.useLegacy === true)
                        ? module.legacyPushPage
                        : module.pushPage

            Function settings has 33 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

                      settings: function(animation, duration, onComplete) {
                        // single settings object
                        if(typeof animation == 'object') {
                          return $.extend(true, {}, $.fn.transition.settings, animation);
                        }

              Function showSegPopover has 33 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

                  showSegPopover: function(row, col, moreLink, segs) {
                      var _this = this;
                      var view = this.view;
                      var moreWrap = moreLink.parent(); // the <div> wrapper around the <a>
                      var topEl; // the element we want to match the top coordinate of

                Function field has 33 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                          field: function(field) {
                            var
                              $field      = module.get.field(field.identifier),
                              fieldValid  = true,
                              fieldErrors = []

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

                            hide: function(callback) {
                              callback = $.isFunction(callback)
                                ? callback
                                : function(){}
                              ;

                    Function showHide has 33 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                    function showHide( elements, show ) {
                        var display, elem,
                            values = [],
                            index = 0,
                            length = elements.length;

                      Function core has 33 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

                        getJasmineRequire().core = function(jRequire) {
                          var j$ = {};
                      
                          jRequire.base(j$, jasmineGlobal);
                          j$.util = jRequire.util();

                        Function fadeInImage has 33 lines of code (exceeds 25 allowed). Consider refactoring.
                        Open

                          Materialize.fadeInImage =  function(selectorOrEl) {
                            var element;
                            if (typeof(selectorOrEl) === 'string') {
                              element = $(selectorOrEl);
                            } else if (typeof(selectorOrEl) === 'object') {

                          Function refreshPositions has 33 lines of code (exceeds 25 allowed). Consider refactoring.
                          Open

                              refreshPositions: function(fast) {
                          
                                  // Determine whether items are being displayed horizontally
                                  this.floating = this.items.length ?
                                      this.options.axis === "x" || this._isFloating( this.items[ 0 ].item ) :

                            Function _keydown has 33 lines of code (exceeds 25 allowed). Consider refactoring.
                            Open

                                _keydown: function( event ) {
                                    if ( event.altKey || event.ctrlKey ) {
                                        return;
                                    }
                            
                            

                              Function fadeInImage has 33 lines of code (exceeds 25 allowed). Consider refactoring.
                              Open

                                Materialize.fadeInImage =  function(selectorOrEl) {
                                  var element;
                                  if (typeof(selectorOrEl) === 'string') {
                                    element = $(selectorOrEl);
                                  } else if (typeof(selectorOrEl) === 'object') {

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

                                                    complete: function( thumb ) {
                                
                                                        // shrink thumbnails to fit
                                                        var top = ['left', 'top'],
                                                            arr = ['Width', 'Height'],

                                  Function loop has 33 lines of code (exceeds 25 allowed). Consider refactoring.
                                  Open

                                          loop: function() {
                                  
                                              var distance = this.to - this.pos,
                                                  factor = 1;
                                  
                                  

                                    Function fadeInImage has 33 lines of code (exceeds 25 allowed). Consider refactoring.
                                    Open

                                      Materialize.fadeInImage =  function(selectorOrEl) {
                                        var element;
                                        if (typeof(selectorOrEl) === 'string') {
                                          element = $(selectorOrEl);
                                        } else if (typeof(selectorOrEl) === 'object') {

                                      Function refreshPositions has 33 lines of code (exceeds 25 allowed). Consider refactoring.
                                      Open

                                          refreshPositions: function(fast) {
                                      
                                              // Determine whether items are being displayed horizontally
                                              this.floating = this.items.length ?
                                                  this.options.axis === "x" || this._isFloating( this.items[ 0 ].item ) :

                                        Function _keydown has 33 lines of code (exceeds 25 allowed). Consider refactoring.
                                        Open

                                            _keydown: function( event ) {
                                                if ( event.altKey || event.ctrlKey ) {
                                                    return;
                                                }
                                        
                                        
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language