Showing 300 of 562 total issues
File ionic-angular.js
has 7396 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/*!
* Copyright 2014 Drifty Co.
* http://drifty.com/
*
* Ionic, v1.0.0
File ionic.js
has 4854 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/*!
* Copyright 2014 Drifty Co.
* http://drifty.com/
*
* Ionic, v1.0.0
File angular-ui-router.js
has 1637 lines of code (exceeds 250 allowed). Consider refactoring. Open
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
File angular-animate.js
has 1106 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/**
* @license AngularJS v1.3.13
* (c) 2010-2014 Google, Inc. http://angularjs.org
* License: MIT
*/
File satellizer.js
has 936 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/**
* Satellizer 0.15.5
* (c) 2016 Sahat Yalkabov
* License: MIT
*/
Function RepeatManagerFactory
has 460 lines of code (exceeds 25 allowed). Consider refactoring. Open
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;
Function RepeatController
has 457 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
return function RepeatController(options) {
var afterItemsNode = options.afterItemsNode;
var containerNode = options.containerNode;
var forceRefreshImages = options.forceRefreshImages;
var heightData = options.heightData;
File server.js
has 846 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/**
* Satellizer Node.js Example
* (c) 2015 Sahat Yalkabov
* License: MIT
*/
Function $StateProvider
has 400 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function $StateProvider( $urlRouterProvider, $urlMatcherFactory) {
var root, states = {}, $state, queue = {}, abstractKey = 'abstract';
// Builds state properties from definition passed to registerState()
File satellizer.js
has 802 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/**
* Satellizer 0.14.1
* (c) 2016 Sahat Yalkabov
* License: MIT
*/
Function initialize
has 364 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
initialize: function (options) {
var slider = this;
// utilities
var noop = function() {}; // simple no operation function
Function $UrlMatcherFactory
has 249 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function $UrlMatcherFactory() {
$$UMFP = this;
var isCaseInsensitive = false, isStrictMode = true, defaultSquashPolicy = false;
Function CollectionRepeatDirective
has 230 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function CollectionRepeatDirective($ionicCollectionManager, $parse, $window, $$rAF, $rootScope, $timeout) {
return {
restrict: 'A',
priority: 1000,
transclude: 'element',
Function postLink
has 220 lines of code (exceeds 25 allowed). Consider refactoring. Open
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);
Function create
has 213 lines of code (exceeds 25 allowed). Consider refactoring. Open
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;
Function $get
has 211 lines of code (exceeds 25 allowed). Consider refactoring. Open
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'));
Function $get
has 209 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
this.$get = ['$http', '$q', function($http, $q) {
var noop = angular.noop,
forEach = angular.forEach,
extend = angular.extend,
Function __initEventHandlers
has 190 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
__initEventHandlers: function() {
var self = this;
// Event Handler
var container = self.__container;
Function register
has 187 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
register: function(parentScope, viewLocals) {
var currentStateId = getCurrentStateId(),
hist = getHistory(parentScope),
currentView = viewHistory.currentView,
Function performAnimation
has 171 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function performAnimation(animationEvent, className, element, parentElement, afterElement, domOperation, options, doneCallback) {
var noopCancel = noop;
var runner = animationRunner(element, animationEvent, className, options);
if (!runner) {
fireDOMOperation();