dist/angular-loading-overlay.js
Function BsLoadingOverlayDirective
has 52 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var BsLoadingOverlayDirective = (function () {
function BsLoadingOverlayDirective($compile, $rootScope, $templateRequest, $q, $timeout, bsLoadingOverlayService) {
var _this = this;
this.$compile = $compile;
this.$rootScope = $rootScope;
Function BsLoadingOverlayService
has 46 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var BsLoadingOverlayService = (function () {
function BsLoadingOverlayService($rootScope, $q) {
var _this = this;
this.$rootScope = $rootScope;
this.$q = $q;
Function BsLoadingOverlayInstance
has 44 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var BsLoadingOverlayInstance = (function () {
function BsLoadingOverlayInstance(referenceId, delay, activeClass, $element, overlayElement, $timeout, $q) {
this.referenceId = referenceId;
this.delay = delay;
this.activeClass = activeClass;
Function BsLoadingOverlayDirective
has 40 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function BsLoadingOverlayDirective($compile, $rootScope, $templateRequest, $q, $timeout, bsLoadingOverlayService) {
var _this = this;
this.$compile = $compile;
this.$rootScope = $rootScope;
this.$templateRequest = $templateRequest;
Function link
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
this.link = function (scope, $element, $attributes) {
var templatePromise;
var overlayElementScope;
var globalConfig = _this.bsLoadingOverlayService.getGlobalConfig();
var templateUrl = $attributes.bsLoadingOverlayTemplateUrl || globalConfig.templateUrl;
Function BsLoadingOverlayInstance
has 7 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function BsLoadingOverlayInstance(referenceId, delay, activeClass, $element, overlayElement, $timeout, $q) {
Function BsLoadingOverlayDirective
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function BsLoadingOverlayDirective($compile, $rootScope, $templateRequest, $q, $timeout, bsLoadingOverlayService) {
Function BsLoadingOverlayDirectiveFactory
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
exports.BsLoadingOverlayDirectiveFactory = function ($compile, $rootScope, $templateRequest, $q, $timeout, bsLoadingOverlayService) { return (new BsLoadingOverlayDirective($compile, $rootScope, $templateRequest, $q, $timeout, bsLoadingOverlayService)); };