devstaff-crete/DevStaff-Heraklion

View on GitHub

Showing 295 of 1,642 total issues

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

      function executeAnimationFn(fn, element, event, options, onDone) {
        var args;
        switch (event) {
          case 'animate':
            args = [element, options.from, options.to, onDone];

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

          function groupEventedAnimations(element, event, options, animations, fnName) {
            var operations = [];
            forEach(animations, function(ani) {
              var animation = ani[fnName];
              if (!animation) return;

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

        register: function(ele) {
          tapDoc = ele;
      
          tapEventListener('click', true, true);
          tapEventListener('mouseup');
      Severity: Minor
      Found in meetups/meetup06-MobileDev/x-platform/ionic/js/ionic.js - About 1 hr to fix

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

          __resizeScrollbars: function() {
            var self = this;
        
            // Update horiz bar
            if (self.__indicatorX) {
        Severity: Minor
        Found in meetups/meetup06-MobileDev/x-platform/ionic/js/ionic.js - About 1 hr to fix

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

              function setup() {
          
                // do not setup if the container has no width
                if (!container.offsetWidth) {
                  return;
          Severity: Minor
          Found in meetups/meetup06-MobileDev/x-platform/ionic/js/ionic.js - About 1 hr to fix

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

                function positionItem(ele, itemType) {
                  if (!ele) return;
            
                  if (itemType === 'title') {
                    // title element
            Severity: Minor
            Found in meetups/meetup06-MobileDev/x-platform/ionic/js/ionic-angular.js - About 1 hr to fix

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

                      fn: function(i) {
                        return {
                          cx: 32,
                          cy: 32,
                          a: [{
              Severity: Minor
              Found in meetups/meetup06-MobileDev/x-platform/ionic/js/ionic-angular.js - About 1 hr to fix

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

                    function addAttributes( section, element, previousElement, separatorElementAttributes, separatorSectionAttributes ) {
                
                        if ( element != null && element.childNodes != undefined && element.childNodes.length > 0 ) {
                            previousParentElement = element;
                            for( var i = 0; i < element.childNodes.length; i++ ) {
                Severity: Minor
                Found in meetups/meetup06-MobileDev/x-platform/plugin/markdown/markdown.js - About 1 hr to fix

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

                        function prelink($scope, $element, $attr, tabsCtrl) {
                          var deregisterInstance = $ionicTabsDelegate._registerInstance(
                            tabsCtrl, $attr.delegateHandle, tabsCtrl.hasActiveScope
                          );
                  
                  
                  Severity: Minor
                  Found in meetups/meetup06-MobileDev/x-platform/ionic/js/ionic-angular.js - About 1 hr to fix

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

                      zoomTo: function(level, animate, originLeft, originTop) {
                        var self = this;
                    
                        if (!self.options.zooming) {
                          throw new Error("Zooming is not enabled!");
                    Severity: Minor
                    Found in meetups/meetup06-MobileDev/x-platform/ionic/js/ionic.js - About 1 hr to fix

                      Function removeEventListeners has 29 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

                          function removeEventListeners() {
                      
                              eventsAreBound = false;
                      
                              document.removeEventListener( 'keydown', onDocumentKeyDown, false );
                      Severity: Minor
                      Found in meetups/meetup06-MobileDev/x-platform/js/reveal.js - About 1 hr to fix

                        Function start has 29 lines of code (exceeds 25 allowed). Consider refactoring.
                        Open

                                start: function() {
                                  var runner;
                        
                                  var currentAnimation = startingAnimator.start();
                                  currentAnimation.done(function() {

                          Function showLoader has 29 lines of code (exceeds 25 allowed). Consider refactoring.
                          Open

                            function showLoader(options) {
                              options = extend({}, $ionicLoadingConfig || {}, options || {});
                              var delay = options.delay || options.showDelay || 0;
                          
                              deregisterStateListener1();
                          Severity: Minor
                          Found in meetups/meetup06-MobileDev/x-platform/ionic/js/ionic-angular.js - About 1 hr to fix

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

                                   function($$rAF,   $rootScope,   $rootElement,   $document,   $$HashMap,
                                            $$animation,   $$AnimateRunner,   $templateRequest,   $$jqLite) {

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

                                function $get(   $rootScope,   $q,   $view,   $injector,   $resolve,   $stateParams,   $urlRouter,   $location,   $urlMatcherFactory) {

                                Function showPreview has 28 lines of code (exceeds 25 allowed). Consider refactoring.
                                Open

                                    function showPreview( url ) {
                                
                                        closeOverlay();
                                
                                        dom.overlay = document.createElement( 'div' );
                                Severity: Minor
                                Found in meetups/meetup06-MobileDev/x-platform/js/reveal.js - About 1 hr to fix

                                  Function to has 28 lines of code (exceeds 25 allowed). Consider refactoring.
                                  Open

                                          to: function( options ) {
                                  
                                              // Due to an implementation limitation we can't zoom in
                                              // to another element without zooming out first
                                              if( level !== 1 ) {
                                  Severity: Minor
                                  Found in meetups/meetup06-MobileDev/x-platform/plugin/zoom-js/zoom.js - About 1 hr to fix

                                    Function showHelp has 28 lines of code (exceeds 25 allowed). Consider refactoring.
                                    Open

                                        function showHelp() {
                                    
                                            if( config.help ) {
                                    
                                                closeOverlay();
                                    Severity: Minor
                                    Found in meetups/meetup06-MobileDev/x-platform/js/reveal.js - About 1 hr to fix

                                      Function getProgress has 28 lines of code (exceeds 25 allowed). Consider refactoring.
                                      Open

                                          function getProgress() {
                                      
                                              var horizontalSlides = toArray( dom.wrapper.querySelectorAll( HORIZONTAL_SLIDES_SELECTOR ) );
                                      
                                              // The number of past and total slides
                                      Severity: Minor
                                      Found in meetups/meetup06-MobileDev/x-platform/js/reveal.js - About 1 hr to fix

                                        Function updateControls has 28 lines of code (exceeds 25 allowed). Consider refactoring.
                                        Open

                                            function updateControls() {
                                        
                                                var routes = availableRoutes();
                                                var fragments = availableFragments();
                                        
                                        
                                        Severity: Minor
                                        Found in meetups/meetup06-MobileDev/x-platform/js/reveal.js - About 1 hr to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language