devstaff-crete/DevStaff-Heraklion

View on GitHub

Showing 295 of 1,637 total issues

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

UrlMatcher.prototype.exec = function (path, searchParams) {
  var m = this.regexp.exec(path);
  if (!m) return null;
  searchParams = searchParams || {};

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

          var step = function(virtual) {
    
            // Normalize virtual value
            var render = virtual !== true;
    
    
    Severity: Minor
    Found in meetups/meetup06-MobileDev/x-platform/ionic/js/ionic.js - About 1 hr to fix

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

            function animateScroll(Y, X) {
              // scroll animation loop w/ easing
              // credit https://gist.github.com/dezinezync/5487119
              var start = Date.now(),
                duration = 250, //milliseconds
      Severity: Minor
      Found in meetups/meetup06-MobileDev/x-platform/ionic/js/ionic.js - About 1 hr to fix

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

          SlideDrag.prototype.start = function(e) {
            var content, buttons, offsetX, buttonsWidth;
        
            if (!this.canSwipe()) {
              return;
        Severity: Minor
        Found in meetups/meetup06-MobileDev/x-platform/ionic/js/ionic.js - About 1 hr to fix

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

            function registerState(state) {
              // Wrap a new object around the state so we can store our private details easily.
              state = inherit(state, {
                self: state,
                resolve: state.resolve || {},

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

                  function invoke(key, invocable, params) {
                    // Create a deferred for this invocation. Failures will propagate to the resolution as well.
                    var invocation = $q.defer(), waitParams = 0;
                    function onfailure(reason) {
                      invocation.reject(reason);

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

              function keyboardWaitForResize(callback, isOpening) {
                clearInterval(waitForResizeTimer);
                var count = 0;
                var maxCount;
                var initialHeight = getViewportHeight();
              Severity: Minor
              Found in meetups/meetup06-MobileDev/x-platform/ionic/js/ionic.js - About 1 hr to fix

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

                function $ViewDirectiveFill (  $compile,   $controller,   $state,   $interpolate) {
                  return {
                    restrict: 'ECA',
                    priority: -400,
                    compile: function (tElement) {

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

                        link: function($scope, $element, $attr) {
                          if ($attr.noTapScroll == 'true') {
                            return;
                          }
                          ionic.on('tap', onTap, $element[0]);
                  Severity: Minor
                  Found in meetups/meetup06-MobileDev/x-platform/ionic/js/ionic-angular.js - About 1 hr to fix

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

                      function findState(stateOrName, base) {
                        if (!stateOrName) return undefined;
                    
                        var isStr = isString(stateOrName),
                            name  = isStr ? stateOrName : stateOrName.name,

                      Function loadViewElements has 27 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

                              loadViewElements: function(registerData) {
                                var x, l, viewEle;
                                var viewElements = navViewCtrl.getViewElements();
                                var enteringEleIdentifier = getViewElementIdentifier(viewLocals, enteringView);
                                var navViewActiveEleId = navViewCtrl.activeEleId();
                      Severity: Minor
                      Found in meetups/meetup06-MobileDev/x-platform/ionic/js/ionic-angular.js - About 1 hr to fix

                        Function $StateRefActiveDirective has 27 lines of code (exceeds 25 allowed). Consider refactoring.
                        Open

                        function $StateRefActiveDirective($state, $stateParams, $interpolate) {
                          return  {
                            restrict: "A",
                            controller: ['$scope', '$element', '$attrs', function ($scope, $element, $attrs) {
                              var state, params, activeClass;

                          Function get has 27 lines of code (exceeds 25 allowed). Consider refactoring.
                          Open

                                get: function() {
                                  var self = this;
                                  function update(fn) {
                                    return function() {
                                      var x, classes = self.className.split(/\s+/);
                          Severity: Minor
                          Found in meetups/meetup06-MobileDev/x-platform/ionic/js/ionic.js - About 1 hr to fix

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

                                link: function($scope, $element, $attrs, ctrls) {
                                  var tabsCtrl = ctrls[0],
                                    tabCtrl = ctrls[1];
                            
                                  //Remove title attribute so browser-tooltip does not apear
                            Severity: Minor
                            Found in meetups/meetup06-MobileDev/x-platform/ionic/js/ionic-angular.js - About 1 hr to fix

                              Function resolveState has 27 lines of code (exceeds 25 allowed). Consider refactoring.
                              Open

                                  function resolveState(state, params, paramsAreFiltered, inherited, dst, options) {
                                    // Make a restricted $stateParams with only the parameters that apply to this state if
                                    // necessary. In addition to being available to the controller and onEnter/onExit callbacks,
                                    // we also need $stateParams to be available for any $injector calls we make during the
                                    // dependency resolution process.

                                Function instanceMethodCaller has 27 lines of code (exceeds 25 allowed). Consider refactoring.
                                Open

                                      function instanceMethodCaller(methodName) {
                                        return function caller() {
                                          var handle = this.handle;
                                          var args = arguments;
                                          var foundInstancesCount = 0;
                                Severity: Minor
                                Found in meetups/meetup06-MobileDev/x-platform/ionic/js/ionic.js - About 1 hr to fix

                                  Function initialize has 27 lines of code (exceeds 25 allowed). Consider refactoring.
                                  Open

                                      initialize: function(opts) {
                                        var self = this;
                                  
                                        opts = ionic.extend({
                                          onReorder: function() {},
                                  Severity: Minor
                                  Found in meetups/meetup06-MobileDev/x-platform/ionic/js/ionic.js - About 1 hr to fix

                                    Function goBack has 26 lines of code (exceeds 25 allowed). Consider refactoring.
                                    Open

                                        goBack: function(backCount) {
                                          if (isDefined(backCount) && backCount !== -1) {
                                            if (backCount > -1) return;
                                    
                                            var currentHistory = viewHistory.histories[this.currentHistoryId()];
                                    Severity: Minor
                                    Found in meetups/meetup06-MobileDev/x-platform/ionic/js/ionic-angular.js - About 1 hr to fix

                                      Function sortFragments has 26 lines of code (exceeds 25 allowed). Consider refactoring.
                                      Open

                                          function sortFragments( fragments ) {
                                      
                                              fragments = toArray( fragments );
                                      
                                              var ordered = [],
                                      Severity: Minor
                                      Found in meetups/meetup06-MobileDev/x-platform/js/reveal.js - About 1 hr to fix

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

                                                fn: function(i) {
                                                  return {
                                                    cx: 16 + (16 * i),
                                                    cy: 32,
                                                    sw: 0,
                                        Severity: Minor
                                        Found in meetups/meetup06-MobileDev/x-platform/ionic/js/ionic-angular.js - About 1 hr to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language