devstaff-crete/DevStaff-Heraklion

View on GitHub

Showing 295 of 1,631 total issues

Function select has 39 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  self.select = function(tab, shouldEmitEvent) {
    var tabIndex;
    if (isNumber(tab)) {
      tabIndex = tab;
      if (tabIndex >= self.tabs.length) return;
Severity: Minor
Found in meetups/meetup06-MobileDev/x-platform/ionic/js/ionic-angular.js - About 1 hr to fix

    Function format has 39 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

    UrlMatcher.prototype.format = function (values) {
      values = values || {};
      var segments = this.segments, params = this.parameters(), paramset = this.params;
      if (!this.validates(values)) return null;
    
    

      Function _startDrag has 39 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

          _startDrag: function(e) {
            var self = this;
      
            self._isDragging = false;
      
      
      Severity: Minor
      Found in meetups/meetup06-MobileDev/x-platform/ionic/js/ionic.js - About 1 hr to fix

        Function ArrayType has 39 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

          function ArrayType(type, mode) {
            function bindTo(type, callbackName) {
              return function() {
                return type[callbackName].apply(type, arguments);
              };

          Function scrollTo has 39 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

            scrollTo: function(left, top, animate, zoom, wasResize) {
              var self = this;
          
              // Stop deceleration
              if (self.__isDecelerating) {
          Severity: Minor
          Found in meetups/meetup06-MobileDev/x-platform/ionic/js/ionic.js - About 1 hr to fix

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

                function load() {
            
                    var scripts = [],
                        scriptsAsync = [],
                        scriptsToPreload = 0;
            Severity: Minor
            Found in meetups/meetup06-MobileDev/x-platform/js/reveal.js - About 1 hr to fix

              Function updateSlidesVisibility has 38 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

                  function updateSlidesVisibility() {
              
                      // Select all slides and convert the NodeList result to
                      // an array
                      var horizontalSlides = toArray( dom.wrapper.querySelectorAll( HORIZONTAL_SLIDES_SELECTOR ) ),
              Severity: Minor
              Found in meetups/meetup06-MobileDev/x-platform/js/reveal.js - About 1 hr to fix

                Function scrollTo has 38 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                    scrollTo: function(left, top, animate) {
                      var self = this;
                      if (!animate) {
                        self.el.scrollTop = top;
                        self.el.scrollLeft = left;
                Severity: Minor
                Found in meetups/meetup06-MobileDev/x-platform/ionic/js/ionic.js - About 1 hr to fix

                  Function activateOverview has 37 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                      function activateOverview() {
                  
                          // Only proceed if enabled in config
                          if( config.overview ) {
                  
                  
                  Severity: Minor
                  Found in meetups/meetup06-MobileDev/x-platform/js/reveal.js - About 1 hr to fix

                    Function hiliteWords has 37 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                      this.hiliteWords = function(node)
                      {
                        if(node == undefined || !node) return;
                        if(!matchRegex) return;
                        if(skipTags.test(node.nodeName)) return;
                    Severity: Minor
                    Found in meetups/meetup06-MobileDev/x-platform/plugin/search/search.js - About 1 hr to fix

                      Function __cleanup has 37 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

                        __cleanup: function() {
                          var self = this;
                          var container = self.__container;
                      
                          container.removeEventListener('touchstart', self.touchStart);
                      Severity: Minor
                      Found in meetups/meetup06-MobileDev/x-platform/ionic/js/ionic.js - About 1 hr to fix

                        Function colorToRgb has 36 lines of code (exceeds 25 allowed). Consider refactoring.
                        Open

                            function colorToRgb( color ) {
                        
                                var hex3 = color.match( /^#([0-9a-f]{3})$/i );
                                if( hex3 && hex3[1] ) {
                                    hex3 = hex3[1];
                        Severity: Minor
                        Found in meetups/meetup06-MobileDev/x-platform/js/reveal.js - About 1 hr to fix

                          Function $$rAFSchedulerFactory has 36 lines of code (exceeds 25 allowed). Consider refactoring.
                          Open

                          var $$rAFSchedulerFactory = ['$$rAF', function($$rAF) {
                            var tickQueue = [];
                            var cancelFn;
                          
                            function scheduler(tasks) {

                            Function touchmove has 36 lines of code (exceeds 25 allowed). Consider refactoring.
                            Open

                                  touchmove: function(event) {
                            
                                    // ensure swiping with one touch and not pinching
                                    // ensure sliding is enabled
                                    if (event.touches.length > 1 ||
                            Severity: Minor
                            Found in meetups/meetup06-MobileDev/x-platform/ionic/js/ionic.js - About 1 hr to fix

                              Function scrollChildIntoView has 36 lines of code (exceeds 25 allowed). Consider refactoring.
                              Open

                                  self.scrollChildIntoView = function(e) {
                                    //console.log("scrollChildIntoView at: " + Date.now());
                              
                                    // D
                                    var scrollBottomOffsetToTop = container.getBoundingClientRect().bottom;
                              Severity: Minor
                              Found in meetups/meetup06-MobileDev/x-platform/ionic/js/ionic.js - About 1 hr to fix

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

                                    android: function(ele) {
                                      var rIndex = 0;
                                      var rotateCircle = 0;
                                      var startTime;
                                      var svgEle = ele.querySelector('g');
                                Severity: Minor
                                Found in meetups/meetup06-MobileDev/x-platform/ionic/js/ionic-angular.js - About 1 hr to fix

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

                                          fn: function(i) {
                                            return {
                                              x1: 10 + (i * 14),
                                              x2: 10 + (i * 14),
                                              a: [{
                                  Severity: Minor
                                  Found in meetups/meetup06-MobileDev/x-platform/ionic/js/ionic-angular.js - About 1 hr to fix

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

                                      self.updatePositions = function(titleEle, updateTitleLeft, updateTitleRight, buttonsLeft, buttonsRight, updateCss, showPreviousTitle) {
                                        var deferred = $q.defer();
                                    
                                        // only make DOM updates when there are actual changes
                                        if (titleEle) {
                                    Severity: Minor
                                    Found in meetups/meetup06-MobileDev/x-platform/ionic/js/ionic-angular.js - About 1 hr to fix

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

                                        SlideDrag.prototype.end = function(e, doneCallback) {
                                          var self = this;
                                      
                                          // There is no drag, just end immediately
                                          if (!self._currentDrag) {
                                      Severity: Minor
                                      Found in meetups/meetup06-MobileDev/x-platform/ionic/js/ionic.js - About 1 hr to fix

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

                                        function tapScrollToTopDirective() {
                                          return ['$ionicScrollDelegate', function($ionicScrollDelegate) {
                                            return {
                                              restrict: 'E',
                                              link: function($scope, $element, $attr) {
                                        Severity: Minor
                                        Found in meetups/meetup06-MobileDev/x-platform/ionic/js/ionic-angular.js - About 1 hr to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language