sahat/satellizer

View on GitHub

Showing 300 of 562 total issues

File ionic-angular.js has 7396 lines of code (exceeds 250 allowed). Consider refactoring.
Open

/*!
 * Copyright 2014 Drifty Co.
 * http://drifty.com/
 *
 * Ionic, v1.0.0
Severity: Major
Found in examples/ionic/www/lib/ionic/js/ionic-angular.js - About 3 wks to fix

    File ionic.js has 4854 lines of code (exceeds 250 allowed). Consider refactoring.
    Open

    /*!
     * Copyright 2014 Drifty Co.
     * http://drifty.com/
     *
     * Ionic, v1.0.0
    Severity: Major
    Found in examples/ionic/www/lib/ionic/js/ionic.js - About 2 wks to fix

      File angular-ui-router.js has 1637 lines of code (exceeds 250 allowed). Consider refactoring.
      Open

      /**
       * State-based routing for AngularJS
       * @version v0.2.13
       * @link http://angular-ui.github.com/
       * @license MIT License, http://www.opensource.org/licenses/MIT
      Severity: Major
      Found in examples/ionic/www/lib/ionic/js/angular-ui/angular-ui-router.js - About 4 days to fix

        File angular-animate.js has 1106 lines of code (exceeds 250 allowed). Consider refactoring.
        Open

        /**
         * @license AngularJS v1.3.13
         * (c) 2010-2014 Google, Inc. http://angularjs.org
         * License: MIT
         */
        Severity: Major
        Found in examples/ionic/www/lib/ionic/js/angular/angular-animate.js - About 2 days to fix

          File satellizer.js has 936 lines of code (exceeds 250 allowed). Consider refactoring.
          Open

          /**
           * Satellizer 0.15.5
           * (c) 2016 Sahat Yalkabov 
           * License: MIT 
           */
          Severity: Major
          Found in examples/ionic/www/lib/satellizer/dist/satellizer.js - About 2 days to fix

            Function RepeatManagerFactory has 460 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

            function RepeatManagerFactory($rootScope, $window, $$rAF) {
              var EMPTY_DIMENSION = { primaryPos: 0, secondaryPos: 0, primarySize: 0, secondarySize: 0, rowPrimarySize: 0 };
            
              return function RepeatController(options) {
                var afterItemsNode = options.afterItemsNode;
            Severity: Major
            Found in examples/ionic/www/lib/ionic/js/ionic-angular.js - About 2 days to fix

              Function RepeatController has 457 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

                return function RepeatController(options) {
                  var afterItemsNode = options.afterItemsNode;
                  var containerNode = options.containerNode;
                  var forceRefreshImages = options.forceRefreshImages;
                  var heightData = options.heightData;
              Severity: Major
              Found in examples/ionic/www/lib/ionic/js/ionic-angular.js - About 2 days to fix

                File server.js has 846 lines of code (exceeds 250 allowed). Consider refactoring.
                Open

                /**
                 * Satellizer Node.js Example
                 * (c) 2015 Sahat Yalkabov
                 * License: MIT
                 */
                Severity: Major
                Found in examples/server/node/server.js - About 2 days to fix

                  Function $StateProvider has 400 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                  function $StateProvider(   $urlRouterProvider,   $urlMatcherFactory) {
                  
                    var root, states = {}, $state, queue = {}, abstractKey = 'abstract';
                  
                    // Builds state properties from definition passed to registerState()
                  Severity: Major
                  Found in examples/ionic/www/lib/ionic/js/angular-ui/angular-ui-router.js - About 2 days to fix

                    File satellizer.js has 802 lines of code (exceeds 250 allowed). Consider refactoring.
                    Open

                    /**
                     * Satellizer 0.14.1
                     * (c) 2016 Sahat Yalkabov
                     * License: MIT
                     */
                    Severity: Major
                    Found in examples/ionic/www/lib/satellizer/satellizer.js - About 1 day to fix

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

                        initialize: function (options) {
                          var slider = this;
                      
                          // utilities
                          var noop = function() {}; // simple no operation function
                      Severity: Major
                      Found in examples/ionic/www/lib/ionic/js/ionic.js - About 1 day to fix

                        Function $UrlMatcherFactory has 249 lines of code (exceeds 25 allowed). Consider refactoring.
                        Open

                        function $UrlMatcherFactory() {
                          $$UMFP = this;
                        
                          var isCaseInsensitive = false, isStrictMode = true, defaultSquashPolicy = false;
                        
                        
                        Severity: Major
                        Found in examples/ionic/www/lib/ionic/js/angular-ui/angular-ui-router.js - About 1 day to fix

                          Function CollectionRepeatDirective has 230 lines of code (exceeds 25 allowed). Consider refactoring.
                          Open

                          function CollectionRepeatDirective($ionicCollectionManager, $parse, $window, $$rAF, $rootScope, $timeout) {
                            return {
                              restrict: 'A',
                              priority: 1000,
                              transclude: 'element',
                          Severity: Major
                          Found in examples/ionic/www/lib/ionic/js/ionic-angular.js - About 1 day to fix

                            Function postLink has 220 lines of code (exceeds 25 allowed). Consider refactoring.
                            Open

                              function postLink(scope, element, attr, scrollCtrl, transclude) {
                                var scrollView = scrollCtrl.scrollView;
                                var node = element[0];
                                var containerNode = angular.element('<div class="collection-repeat-container">')[0];
                                node.parentNode.replaceChild(containerNode, node);
                            Severity: Major
                            Found in examples/ionic/www/lib/ionic/js/ionic-angular.js - About 1 day to fix

                              Function create has 213 lines of code (exceeds 25 allowed). Consider refactoring.
                              Open

                                  create: function(navViewCtrl, viewLocals, enteringView, leavingView, renderStart, renderEnd) {
                                    // get a reference to an entering/leaving element if they exist
                                    // loop through to see if the view is already in the navViewElement
                                    var enteringEle, leavingEle;
                                    var transitionId = ++transitionCounter;
                              Severity: Major
                              Found in examples/ionic/www/lib/ionic/js/ionic-angular.js - About 1 day to fix

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

                                  function $get(   $rootScope,   $q,   $view,   $injector,   $resolve,   $stateParams,   $urlRouter,   $location,   $urlMatcherFactory) {
                                
                                    var TransitionSuperseded = $q.reject(new Error('transition superseded'));
                                    var TransitionPrevented = $q.reject(new Error('transition prevented'));
                                    var TransitionAborted = $q.reject(new Error('transition aborted'));
                                Severity: Major
                                Found in examples/ionic/www/lib/ionic/js/angular-ui/angular-ui-router.js - About 1 day to fix

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

                                      this.$get = ['$http', '$q', function($http, $q) {
                                  
                                        var noop = angular.noop,
                                          forEach = angular.forEach,
                                          extend = angular.extend,
                                  Severity: Major
                                  Found in examples/ionic/www/lib/ionic/js/angular/angular-resource.js - About 1 day to fix

                                    Function __initEventHandlers has 190 lines of code (exceeds 25 allowed). Consider refactoring.
                                    Open

                                      __initEventHandlers: function() {
                                        var self = this;
                                    
                                        // Event Handler
                                        var container = self.__container;
                                    Severity: Major
                                    Found in examples/ionic/www/lib/ionic/js/ionic.js - About 7 hrs to fix

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

                                          register: function(parentScope, viewLocals) {
                                      
                                            var currentStateId = getCurrentStateId(),
                                                hist = getHistory(parentScope),
                                                currentView = viewHistory.currentView,
                                      Severity: Major
                                      Found in examples/ionic/www/lib/ionic/js/ionic-angular.js - About 7 hrs to fix

                                        Function performAnimation has 171 lines of code (exceeds 25 allowed). Consider refactoring.
                                        Open

                                              function performAnimation(animationEvent, className, element, parentElement, afterElement, domOperation, options, doneCallback) {
                                                var noopCancel = noop;
                                                var runner = animationRunner(element, animationEvent, className, options);
                                                if (!runner) {
                                                  fireDOMOperation();
                                        Severity: Major
                                        Found in examples/ionic/www/lib/ionic/js/angular/angular-animate.js - About 6 hrs to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language