angelakuo/citydogshare

View on GitHub

Showing 2,136 of 3,976 total issues

Function add has 31 lines of code (exceeds 25 allowed). Consider refactoring.
Open

        add: function(elem, to, from, hide) {
            if ( !elem || Galleria.TOUCH ) {
                return;
            }
            if (!idle.bound) {

    Function prepareElementHidden has 31 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        function prepareElementHidden() {
    
            var name
    
            if ( SETTINGS.hiddenName === true ) {

      Function scrollFire has 31 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

        Materialize.scrollFire = function(options) {
      
          var didScroll = false;
      
          window.addEventListener("scroll", function() {

        Function scrollFire has 31 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

          Materialize.scrollFire = function(options) {
        
            var didScroll = false;
        
            window.addEventListener("scroll", function() {

          Function createTag has 31 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

                  createTag: function(value, additionalClass) {
                      var that = this;
                      // Automatically trims the value of leading and trailing whitespace.
                      value = $.trim(value);
          
          

            Function prepareElementHidden has 31 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

                function prepareElementHidden() {
            
                    var name
            
                    if ( SETTINGS.hiddenName === true ) {

              Function option has 31 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

                  option: function( key, value ) {
                      var options = key,
                          parts,
                          curOption,
                          i;

                Function left has 31 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                        left: function( position, data ) {
                            var within = data.within,
                                withinOffset = within.offset.left + within.scrollLeft,
                                outerWidth = within.width,
                                offsetLeft = within.isWindow ? within.scrollLeft : within.offset.left,

                  Function offsetString has 31 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                              offsetString = function(offset) {
                                  try {
                                      return $.datepicker.parseDate($.datepicker._get(inst, "dateFormat"),
                                          offset, $.datepicker._getFormatConfig(inst));
                                  }

                    Function _attachHandlers has 31 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                        _attachHandlers: function(inst) {
                            var stepMonths = this._get(inst, "stepMonths"),
                                id = "#" + inst.id.replace( /\\\\/g, "\\" );
                            inst.dpDiv.find("[data-handler]").map(function () {
                                var handler = {

                      Function open has 31 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

                          open: function( event ) {
                              var that = this,
                                  target = $( event ? event.target : this.element )
                                      // we need closest here due to mouseover bubbling,
                                      // but always pointing at the same event target

                        Function renderDates has 30 lines of code (exceeds 25 allowed). Consider refactoring.
                        Open

                            renderDates: function(isRigid) {
                                var view = this.view;
                                var rowCnt = this.rowCnt;
                                var colCnt = this.colCnt;
                                var html = '';

                          Function attr has 30 lines of code (exceeds 25 allowed). Consider refactoring.
                          Open

                              attr: function( elem, name, value ) {
                                  var ret, hooks,
                                      nType = elem.nodeType;
                          
                                  // Don't get/set attributes on text, comment and attribute nodes

                            Function intersectRanges has 30 lines of code (exceeds 25 allowed). Consider refactoring.
                            Open

                            function intersectRanges(subjectRange, constraintRange) {
                                var subjectStart = subjectRange.start;
                                var subjectEnd = subjectRange.end;
                                var constraintStart = constraintRange.start;
                                var constraintEnd = constraintRange.end;

                              Function renderMoreLink has 30 lines of code (exceeds 25 allowed). Consider refactoring.
                              Open

                                  renderMoreLink: function(row, col, hiddenSegs) {
                                      var _this = this;
                                      var view = this.view;
                              
                                      return $('<a class="fc-more"/>')

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

                                          show: function(callback) {
                                            callback = $.isFunction(callback) ? callback : function(){};
                                            if(settings.transition && $.fn.transition !== undefined && $module.transition('is supported')) {
                                              module.set.visible();
                                              $popup

                                  Function renderSlatRowHtml has 30 lines of code (exceeds 25 allowed). Consider refactoring.
                                  Open

                                      renderSlatRowHtml: function() {
                                          var view = this.view;
                                          var isRTL = this.isRTL;
                                          var html = '';
                                          var slotTime = moment.duration(+this.minTime); // wish there was .clone() for durations

                                    Function renderContentSkeleton has 30 lines of code (exceeds 25 allowed). Consider refactoring.
                                    Open

                                        renderContentSkeleton: function() {
                                            var cellHtml = '';
                                            var i;
                                            var skeletonEl;
                                    
                                    

                                      Function setHeight has 30 lines of code (exceeds 25 allowed). Consider refactoring.
                                      Open

                                          setHeight: function(totalHeight, isAuto) {
                                              var eventLimit;
                                              var scrollerHeight;
                                              var scrollbarWidths;
                                      
                                      

                                        Function html has 30 lines of code (exceeds 25 allowed). Consider refactoring.
                                        Open

                                                  html: function(source, id, url) {
                                                    module.debug('Generating embed html');
                                                    var
                                                      html
                                                    ;
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language