Skip to content

Commit

Permalink
Merge pull request #240 from MurhafSousli/new
Browse files Browse the repository at this point in the history
v5.3.1
  • Loading branch information
MurhafSousli authored Dec 23, 2018
2 parents f2d2c39 + 111352d commit 8c6c1a4
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 7 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Changelog

## 5.3.0
## 5.3.1

- feat(http): Ignore HTTP request by appending `ignoreProgressBar` to request's headers, closes [#234](https://github.com/MurhafSousli/ngx-progressbar/issues/234) in [a625d01](https://github.com/MurhafSousli/ngx-progressbar/pull/238/commits/a625d01bfb7d3831fafb6b758512088ba93cfc24).
- enhance(core): Increase spinner speed, in [0381cd3](https://github.com/MurhafSousli/ngx-progressbar/pull/239/commits/0381cd3fa1901902feaa7ef6f02576db2d34cd6e).
Expand Down
2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -76,5 +76,5 @@
</a>
<script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
<script async defer src="https://buttons.github.io/buttons.js"></script>
<script type="text/javascript" src="runtime.5d98aa440d4efaaac987.js"></script><script type="text/javascript" src="polyfills.c53b1132b0de9f2601bd.js"></script><script type="text/javascript" src="main.851fa3075878e3be52d8.js"></script></body>
<script type="text/javascript" src="runtime.5d98aa440d4efaaac987.js"></script><script type="text/javascript" src="polyfills.c53b1132b0de9f2601bd.js"></script><script type="text/javascript" src="main.71c6b0f06574af07c697.js"></script></body>
</html>

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ngx-progressbar",
"version": "5.3.0",
"version": "5.3.1",
"description": "A nanoscopic progress bar. Featuring realistic trickle animations to convince your users that something is happening!",
"private": false,
"homepage": "http://github.com/murhafsousli/ngx-progressbar",
Expand Down
8 changes: 5 additions & 3 deletions projects/http/src/lib/ng-progress-http.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,16 @@ import { NgProgressInterceptor } from './ng-progress.interceptor';
import { NgProgressHttpConfig, NG_PROGRESS_HTTP_CONFIG } from './ng-progress-http.interface';

@NgModule({
providers: [
{ provide: HTTP_INTERCEPTORS, useClass: NgProgressInterceptor, multi: true }
]
})
export class NgProgressHttpModule {
static forRoot(config?: NgProgressHttpConfig): ModuleWithProviders {
static withConfig(config: NgProgressHttpConfig): ModuleWithProviders {
return {
ngModule: NgProgressHttpModule,
providers: [
{ provide: NG_PROGRESS_HTTP_CONFIG, useValue: config },
{ provide: HTTP_INTERCEPTORS, useClass: NgProgressInterceptor, multi: true }
{ provide: NG_PROGRESS_HTTP_CONFIG, useValue: config }
]
};
}
Expand Down

0 comments on commit 8c6c1a4

Please sign in to comment.