lib/assets/bower_components/angular-growl-v2/build/angular-growl.js
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 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 addMessage
has 54 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
this.addMessage = function (message) {
var directive, messages, found, msgText;
if (this.directives[message.referenceId]) {
directive = this.directives[message.referenceId];
} else {
Function controller
has 51 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function ($scope, $timeout, growl, growlMessages) {
$scope.referenceId = $scope.reference || 0;
growlMessages.initDirective($scope.referenceId, $scope.limitMessages);
$scope.growlMessages = growlMessages;
$scope.inlineMessage = angular.isDefined($scope.inline) ? $scope.inline : growl.inlineMessages();
Function $get
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function ($rootScope, $interpolate, $sce, $filter, $timeout, growlMessages) {