devstaff-crete/DevStaff-Heraklion

View on GitHub

Showing 295 of 1,637 total issues

Avoid deeply nested control flow statements.
Open

                        while( pastFragments.length ) {
                            var pastFragment = pastFragments.pop();
                            pastFragment.classList.add( 'visible' );
                            pastFragment.classList.remove( 'current-fragment' );
                        }
Severity: Major
Found in meetups/meetup06-MobileDev/x-platform/js/reveal.js - About 45 mins to fix

    Avoid deeply nested control flow statements.
    Open

                        if( touch.captured || isVerticalSlide( currentSlide ) ) {
                            event.preventDefault();
                        }
    Severity: Major
    Found in meetups/meetup06-MobileDev/x-platform/js/reveal.js - About 45 mins to fix

      Avoid deeply nested control flow statements.
      Open

                              if ( typeof aPreviousChildElement.setAttribute == 'function' && aPreviousChildElement.tagName != "BR" ) {
                                  previousParentElement = aPreviousChildElement;
                                  break;
                              }
      Severity: Major
      Found in meetups/meetup06-MobileDev/x-platform/plugin/markdown/markdown.js - About 45 mins to fix

        Function render has 6 arguments (exceeds 4 allowed). Consider refactoring.
        Open

          self.render = function(registerData, viewLocals, enteringView, leavingView, renderStart, renderEnd) {
        Severity: Minor
        Found in meetups/meetup06-MobileDev/x-platform/ionic/js/ionic-angular.js - About 45 mins to fix

          Function $get has 6 arguments (exceeds 4 allowed). Consider refactoring.
          Open

                 function($animateCss,   $rootScope,   $$AnimateRunner,   $rootElement,   $document,   $sniffer) {

            Avoid deeply nested control flow statements.
            Open

                      if (tmp && tmp.parentHistoryId === currentView.historyId) {
                        direction = DIRECTION_ENTER;
                      }
            Severity: Major
            Found in meetups/meetup06-MobileDev/x-platform/ionic/js/ionic-angular.js - About 45 mins to fix

              Avoid deeply nested control flow statements.
              Open

                          if (!self.__refreshActive) {
                            self.__startDeceleration(timeStamp);
                          }
              Severity: Major
              Found in meetups/meetup06-MobileDev/x-platform/ionic/js/ionic.js - About 45 mins to fix

                Avoid deeply nested control flow statements.
                Open

                          } else if (scrollTop > maxScrollTop) {
                
                            scrollTop = maxScrollTop;
                
                          } else {
                Severity: Major
                Found in meetups/meetup06-MobileDev/x-platform/ionic/js/ionic.js - About 45 mins to fix

                  Avoid deeply nested control flow statements.
                  Open

                              if (tmp && tmp.parentHistoryId === hist.parentHistoryId) {
                                direction = DIRECTION_SWAP;
                              }
                  Severity: Major
                  Found in meetups/meetup06-MobileDev/x-platform/ionic/js/ionic-angular.js - About 45 mins to fix

                    Avoid deeply nested control flow statements.
                    Open

                              for (y = 0; y < splitClasses.length; y++) {
                                cssClass = splitClasses[y];
                                el.setAttribute('class', (
                                    (" " + (el.getAttribute('class') || '') + " ")
                                    .replace(/[\n\t]/g, " ")
                    Severity: Major
                    Found in meetups/meetup06-MobileDev/x-platform/ionic/js/ionic-angular.js - About 45 mins to fix

                      Avoid deeply nested control flow statements.
                      Open

                                    if (climbScope.hasOwnProperty('$historyId')) {
                                      return true;
                                    }
                      Severity: Major
                      Found in meetups/meetup06-MobileDev/x-platform/ionic/js/ionic-angular.js - About 45 mins to fix

                        Avoid deeply nested control flow statements.
                        Open

                                  for (y = 0; y < splitClasses.length; y++) {
                                    cssClass = splitClasses[y].trim();
                                    if (existingClasses.indexOf(' ' + cssClass + ' ') === -1) {
                                      existingClasses += cssClass + ' ';
                                    }
                        Severity: Major
                        Found in meetups/meetup06-MobileDev/x-platform/ionic/js/ionic-angular.js - About 45 mins to fix

                          Avoid deeply nested control flow statements.
                          Open

                                  if (initHeight) viewportProperties.height = '0';
                          Severity: Major
                          Found in meetups/meetup06-MobileDev/x-platform/ionic/js/ionic.js - About 45 mins to fix

                            Avoid deeply nested control flow statements.
                            Open

                                        for (y = 0; y < data[k][x].t; y++) {
                                          createSvgElement(k, data[k][x].fn(y, spinnerName), ele, spinnerName);
                                        }
                            Severity: Major
                            Found in meetups/meetup06-MobileDev/x-platform/ionic/js/ionic-angular.js - About 45 mins to fix

                              Function start has 6 arguments (exceeds 4 allowed). Consider refactoring.
                              Open

                                  start: function(stepCallback, verifyCallback, completedCallback, duration, easingMethod, root) {
                              Severity: Minor
                              Found in meetups/meetup06-MobileDev/x-platform/ionic/js/ionic.js - About 45 mins to fix

                                Avoid deeply nested control flow statements.
                                Open

                                            if (!self.__enableScrollX && self.__refreshHeight != null) {
                                
                                              // hide the refresher when it's behind the header bar in case of header transparency
                                              if (scrollTop < 0) {
                                                self.__refreshHidden = false;
                                Severity: Major
                                Found in meetups/meetup06-MobileDev/x-platform/ionic/js/ionic.js - About 45 mins to fix

                                  Avoid deeply nested control flow statements.
                                  Open

                                              if (b.nodeType == 1) {
                                  
                                                if (b.classList.contains(BACK_TEXT)) {
                                                  for (z = 0; z < b.children.length; z++) {
                                                    d = b.children[z];
                                  Severity: Major
                                  Found in meetups/meetup06-MobileDev/x-platform/ionic/js/ionic-angular.js - About 45 mins to fix

                                    Avoid deeply nested control flow statements.
                                    Open

                                              if (isArray(encoded)) {
                                                result += map(encoded, encodeDashes).join("-");
                                              } else {
                                                result += encodeURIComponent(encoded);
                                              }

                                      Function resolveState has 6 arguments (exceeds 4 allowed). Consider refactoring.
                                      Open

                                          function resolveState(state, params, paramsAreFiltered, inherited, dst, options) {

                                        Avoid deeply nested control flow statements.
                                        Open

                                                  if (hist.historyId === currentView.historyId) {
                                                    direction = DIRECTION_FORWARD;
                                        
                                                  } else if (currentView.historyId !== hist.historyId) {
                                                    direction = DIRECTION_ENTER;
                                        Severity: Major
                                        Found in meetups/meetup06-MobileDev/x-platform/ionic/js/ionic-angular.js - About 45 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language