@ngx-loading-bar/core
Advanced tools
Comparing version 1.0.0-alpha.3 to 1.0.0-alpha.4
@@ -15,5 +15,2 @@ import { CommonModule } from '@angular/common'; | ||
LoadingBarService.prototype.startLoading = function (source$) { | ||
if (source$) { | ||
share$1.call(source$).subscribe(this.getLoadingObserver()); | ||
} | ||
this.pending.next({ | ||
@@ -23,2 +20,5 @@ started: this._pendingRequests === 0, | ||
}); | ||
if (source$) { | ||
share$1.call(source$).subscribe(this.getLoadingObserver()); | ||
} | ||
}; | ||
@@ -25,0 +25,0 @@ /** |
@@ -16,5 +16,2 @@ import { CommonModule } from '@angular/common'; | ||
startLoading(source$) { | ||
if (source$) { | ||
share$1.call(source$).subscribe(this.getLoadingObserver()); | ||
} | ||
this.pending.next({ | ||
@@ -24,2 +21,5 @@ started: this._pendingRequests === 0, | ||
}); | ||
if (source$) { | ||
share$1.call(source$).subscribe(this.getLoadingObserver()); | ||
} | ||
} | ||
@@ -26,0 +26,0 @@ /** |
@@ -17,5 +17,2 @@ (function (global, factory) { | ||
LoadingBarService.prototype.startLoading = function (source$) { | ||
if (source$) { | ||
share.share.call(source$).subscribe(this.getLoadingObserver()); | ||
} | ||
this.pending.next({ | ||
@@ -25,2 +22,5 @@ started: this._pendingRequests === 0, | ||
}); | ||
if (source$) { | ||
share.share.call(source$).subscribe(this.getLoadingObserver()); | ||
} | ||
}; | ||
@@ -27,0 +27,0 @@ /** |
{ | ||
"name": "@ngx-loading-bar/core", | ||
"version": "1.0.0-alpha.3", | ||
"version": "1.0.0-alpha.4", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
61211