app/bower_components/angular-route/angular-route.js
Function $RouteProvider
has 231 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function $RouteProvider() {
isArray = angular.isArray;
isObject = angular.isObject;
function inherit(parent, extra) {
Function $get
has 158 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function($rootScope, $location, $routeParams, $q, $injector, $templateRequest, $sce) {
/**
* @ngdoc service
* @name $route
File angular-route.js
has 344 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/**
* @license AngularJS v1.5.10
* (c) 2010-2016 Google, Inc. http://angularjs.org
* License: MIT
*/
Function ngViewFactory
has 55 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function ngViewFactory($route, $anchorScroll, $animate) {
return {
restrict: 'ECA',
terminal: true,
priority: 400,
Function link
has 47 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
link: function(scope, $element, attr, ctrl, $transclude) {
var currentScope,
currentElement,
previousLeaveAnimation,
autoScrollExp = attr.autoscroll,
Function commitRoute
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function commitRoute() {
var lastRoute = $route.current;
var nextRoute = preparedRoute;
if (preparedRouteIsUpdateOnly) {
Function $get
has 7 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function($rootScope, $location, $routeParams, $q, $injector, $templateRequest, $sce) {
Function link
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
link: function(scope, $element, attr, ctrl, $transclude) {