devstaff-crete/DevStaff-Heraklion

View on GitHub

Showing 295 of 1,643 total issues

Function layout has 50 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    function layout() {

        if( dom.wrapper && !isPrintingPDF() ) {

            var size = getComputedSlideSize();
Severity: Minor
Found in meetups/meetup06-MobileDev/x-platform/js/reveal.js - About 2 hrs to fix

    Function processSlides has 50 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        function processSlides() {
    
            var sections = document.querySelectorAll( '[data-markdown]'),
                section;
    
    
    Severity: Minor
    Found in meetups/meetup06-MobileDev/x-platform/plugin/markdown/markdown.js - About 2 hrs to fix

      Function openNotes has 50 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

          function openNotes() {
              var jsFileLocation = document.querySelector('script[src$="notes.js"]').src;  // this js file path
              jsFileLocation = jsFileLocation.replace(/notes\.js(\?.*)?$/, '');   // the js folder path
              var notesPopup = window.open( jsFileLocation + 'notes.html', 'reveal.js - Notes', 'width=1100,height=700' );
      
      
      Severity: Minor
      Found in meetups/meetup06-MobileDev/x-platform/plugin/notes/notes.js - About 2 hrs to fix

        Function onTouch has 50 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

            onTouch: function onTouch(element, eventType, handler) {
              var self = this;
        
              this.bindDom(element, ionic.Gestures.EVENT_TYPES[eventType], function bindDomOnTouch(ev) {
                var sourceEventType = ev.type.toLowerCase();
        Severity: Minor
        Found in meetups/meetup06-MobileDev/x-platform/ionic/js/ionic.js - About 2 hrs to fix

          Function navigateFragment has 48 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

              function navigateFragment( index, offset ) {
          
                  if( currentSlide && config.fragments ) {
          
                      var fragments = sortFragments( currentSlide.querySelectorAll( '.fragment' ) );
          Severity: Minor
          Found in meetups/meetup06-MobileDev/x-platform/js/reveal.js - About 1 hr to fix

            Function link has 48 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

                link: function(scope, element, attrs, uiSrefActive) {
                  var ref = parseStateRef(attrs.uiSref, $state.current.name);
                  var params = null, url = null, base = stateContext(element) || $state.$current;
                  var newHref = null, isAnchor = element.prop("tagName") === "A";
                  var isForm = element[0].nodeName === "FORM";

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

                  start: function(stepCallback, verifyCallback, completedCallback, duration, easingMethod, root) {
              
                    var start = time();
                    var lastFrame = start;
                    var percent = 0;
              Severity: Minor
              Found in meetups/meetup06-MobileDev/x-platform/ionic/js/ionic.js - About 1 hr to fix

                Function headerFooterBarDirective has 48 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                function headerFooterBarDirective(isHeader) {
                  return ['$document', '$timeout', function($document, $timeout) {
                    return {
                      restrict: 'E',
                      controller: '$ionicHeaderBar',
                Severity: Minor
                Found in meetups/meetup06-MobileDev/x-platform/ionic/js/ionic-angular.js - About 1 hr to fix

                  Function bindDomOnTouch has 47 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                        this.bindDom(element, ionic.Gestures.EVENT_TYPES[eventType], function bindDomOnTouch(ev) {
                          var sourceEventType = ev.type.toLowerCase();
                  
                          // onmouseup, but when touchend has been fired we do nothing.
                          // this is for touchdevices which also fire a mouseup on touchend
                  Severity: Minor
                  Found in meetups/meetup06-MobileDev/x-platform/ionic/js/ionic.js - About 1 hr to fix

                    Function $$AnimateJsDriverProvider has 46 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                    var $$AnimateJsDriverProvider = ['$$animationProvider', function($$animationProvider) {
                      $$animationProvider.drivers.push('$$animateJsDriver');
                      this.$get = ['$$animateJs', '$$AnimateRunner', function($$animateJs, $$AnimateRunner) {
                        return function initDriverFn(animationDetails) {
                          if (animationDetails.from && animationDetails.to) {

                      Function showSlide has 46 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

                          function showSlide( slide ) {
                      
                              // Show the slide element
                              slide.style.display = 'block';
                      
                      
                      Severity: Minor
                      Found in meetups/meetup06-MobileDev/x-platform/js/reveal.js - About 1 hr to fix

                        Function __startDeceleration has 46 lines of code (exceeds 25 allowed). Consider refactoring.
                        Open

                          __startDeceleration: function() {
                            var self = this;
                        
                            if (self.options.paging) {
                        
                        
                        Severity: Minor
                        Found in meetups/meetup06-MobileDev/x-platform/ionic/js/ionic.js - About 1 hr to fix

                          Function refreshLayout has 46 lines of code (exceeds 25 allowed). Consider refactoring.
                          Open

                              this.refreshLayout = function() {
                                if (data.length) {
                                  estimatedHeight = heightGetter(0, data[0]);
                                  estimatedWidth = widthGetter(0, data[0]);
                                } else {
                          Severity: Minor
                          Found in meetups/meetup06-MobileDev/x-platform/ionic/js/ionic-angular.js - About 1 hr to fix

                            Function setUrlParams has 45 lines of code (exceeds 25 allowed). Consider refactoring.
                            Open

                                    setUrlParams: function(config, params, actionUrl) {
                                      var self = this,
                                        url = actionUrl || self.template,
                                        val,
                                        encodedVal;

                              Function resolveElementClasses has 45 lines of code (exceeds 25 allowed). Consider refactoring.
                              Open

                              function resolveElementClasses(existing, toAdd, toRemove) {
                                var ADD_CLASS = 1;
                                var REMOVE_CLASS = -1;
                              
                                var flags = {};

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

                                      function prelink($scope, $element, $attr) {
                                        $ionicBind($scope, $attr, {
                                          direction: '@',
                                          paging: '@',
                                          $onScroll: '&onScroll',
                                Severity: Minor
                                Found in meetups/meetup06-MobileDev/x-platform/ionic/js/ionic-angular.js - About 1 hr to fix

                                  Function doTouchStart has 44 lines of code (exceeds 25 allowed). Consider refactoring.
                                  Open

                                    doTouchStart: function(touches, timeStamp) {
                                      var self = this;
                                  
                                      // remember if the deceleration was just stopped
                                      self.__decStopped = !!(self.__isDecelerating || self.__isAnimating);
                                  Severity: Minor
                                  Found in meetups/meetup06-MobileDev/x-platform/ionic/js/ionic.js - About 1 hr to fix

                                    Function $asArray has 44 lines of code (exceeds 25 allowed). Consider refactoring.
                                    Open

                                    Type.prototype.$asArray = function(mode, isSearch) {
                                      if (!mode) return this;
                                      if (mode === "auto" && !isSearch) throw new Error("'auto' array mode is for query parameters only");
                                      return new ArrayType(this, mode);
                                    
                                    

                                      Function areAnimationsAllowed has 43 lines of code (exceeds 25 allowed). Consider refactoring.
                                      Open

                                          function areAnimationsAllowed(element, parentElement, event) {
                                            var bodyElementDetected = false;
                                            var rootElementDetected = false;
                                            var parentAnimationDetected = false;
                                            var animateChildren;

                                        Function htmlSanitizeWriter has 43 lines of code (exceeds 25 allowed). Consider refactoring.
                                        Open

                                        function htmlSanitizeWriter(buf, uriValidator) {
                                          var ignore = false;
                                          var out = angular.bind(buf, buf.push);
                                          return {
                                            start: function(tag, attrs, unary) {
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language