devstaff-crete/DevStaff-Heraklion

View on GitHub

Showing 295 of 1,636 total issues

Avoid deeply nested control flow statements.
Open

        if (match) {
          html = html.replace(match[0], '');
          chars = false;
        }

    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

      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 (handler.comment) handler.comment(html.substring(4, index));

          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

                      } 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 (!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

                            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

                  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

                    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 (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

                        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 (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

                                        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 (forwardView && currentView.stateId !== forwardView.stateId &&
                                           currentView.historyId === forwardView.historyId) {
                                          // they navigated to a new view but the stack already has a forward view
                                          // since its a new view remove any forwards that existed
                                          tmp = getHistoryById(forwardView.historyId);
                              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

                                      } else if (version == 7) {
                                        //iPhone == 7.0 WebView
                                        viewportProperties.height = DEVICE_HEIGHT;
                                      }
                                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 (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

                                                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

                                                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 (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
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language