Showing 181 of 235 total issues
Function $get
has 239 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function($$jqLite, $rootScope, $injector, $$AnimateRunner, $$rAFScheduler) {
var animationQueue = [];
var applyAnimationClasses = applyAnimationClassesFactory($$jqLite);
Function $RouteProvider
has 216 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function $RouteProvider() {
function inherit(parent, extra) {
return angular.extend(Object.create(parent), extra);
}
Function $$AnimateJsProvider
has 203 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var $$AnimateJsProvider = ['$animateProvider', function($animateProvider) {
this.$get = ['$injector', '$$AnimateRunner', '$$rAFMutex', '$$jqLite',
function($injector, $$AnimateRunner, $$rAFMutex, $$jqLite) {
var applyAnimationClasses = applyAnimationClassesFactory($$jqLite);
Function $get
has 200 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function($injector, $$AnimateRunner, $$rAFMutex, $$jqLite) {
var applyAnimationClasses = applyAnimationClassesFactory($$jqLite);
// $animateJs(element, 'enter');
return function(element, event, classes, options) {
Function $$AnimateCssDriverProvider
has 180 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var $$AnimateCssDriverProvider = ['$$animationProvider', function($$animationProvider) {
$$animationProvider.drivers.push('$$animateCssDriver');
var NG_ANIMATE_SHIM_CLASS_NAME = 'ng-animate-shim';
var NG_ANIMATE_ANCHOR_CLASS_NAME = 'ng-anchor';
Function $get
has 172 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function($animateCss, $rootScope, $$AnimateRunner, $rootElement, $document, $sniffer) {
// only browsers that support these properties can render animations
if (!$sniffer.animations && !$sniffer.transitions) return noop;
Function translateDirective
has 169 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function translateDirective($translate, $q, $interpolate, $compile, $parse, $rootScope) {
'use strict';
/**
Function compile
has 159 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
compile: function (tElement, tAttr) {
var translateValuesExist = (tAttr.translateValues) ?
tAttr.translateValues : undefined;
Function queueAnimation
has 155 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function queueAnimation(element, event, options) {
var node, parent;
element = stripCommentsFromElement(element);
if (element) {
node = getDomNode(element);
Function linkFn
has 150 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
return function linkFn(scope, iElement, iAttr) {
scope.interpolateParams = {};
scope.preText = '';
scope.postText = '';
File angular-growl.js
has 414 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/**
* angular-growl-v2 - v0.7.4 - 2015-06-17
* http://janstevens.github.io/angular-growl-2
* Copyright (c) 2015 Marco Rinck,Jan Stevens; Licensed MIT
*/
Function $get
has 145 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function($rootScope, $location, $routeParams, $q, $injector, $templateRequest, $sce) {
/**
* @ngdoc service
* @name $route
Function exports
has 121 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
module.exports = function(grunt) {
'use strict';
// Project configuration.
grunt.initConfig({
Function start
has 119 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function start() {
if (animationClosed) return;
if (!node.parentNode) {
close();
return;
Function $$AnimateRunnerFactory
has 114 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var $$AnimateRunnerFactory = ['$q', '$$rAFMutex', function($q, $$rAFMutex) {
var INITIAL_STATE = 0;
var DONE_PENDING_STATE = 1;
var DONE_COMPLETE_STATE = 2;
Function $translateSanitizationProvider
has 112 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function $translateSanitizationProvider () {
'use strict';
var $sanitize,
Function $get
has 103 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function ($rootScope, $interpolate, $sce, $filter, $timeout, growlMessages) {
var translate;
growlMessages.onlyUnique = _onlyUniqueMessages;
growlMessages.reverseOrder = _reverseOrder;
try {
Function debounce
has 97 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function debounce(func, wait, options) {
var args,
maxTimeoutId,
result,
stamp,
Function prepareAnchoredAnimation
has 92 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function prepareAnchoredAnimation(classes, outAnchor, inAnchor) {
var clone = jqLite(getDomNode(outAnchor).cloneNode(true));
var startingClasses = filterCssClasses(getClassVal(clone));
outAnchor.addClass(NG_ANIMATE_SHIM_CLASS_NAME);
File angular-route.js
has 310 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/**
* @license AngularJS v1.4.3
* (c) 2010-2015 Google, Inc. http://angularjs.org
* License: MIT
*/