Showing 5 of 5 total issues
Function $get
has 185 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
this.$get = function ($timeout, $http, $compile, $templateCache, $rootScope, $injector, $sce, $q, $window) {
var options = this.options;
var startTop = options.startTop;
var startRight = options.startRight;
Function notify
has 154 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var notify = function (args, t) {
var deferred = $q.defer();
if (typeof args !== 'object' || args === null) {
args = {message: args};
Function processNotificationTemplate
has 123 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function processNotificationTemplate(template) {
var scope = args.scope.$new();
scope.message = $sce.trustAsHtml(args.message);
scope.title = $sce.trustAsHtml(args.title);
Function reposite
has 38 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var reposite = function () {
var j = 0;
var k = 0;
var lastTop = startTop;
var lastRight = startRight;
Function $get
has 9 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
this.$get = function ($timeout, $http, $compile, $templateCache, $rootScope, $injector, $sce, $q, $window) {