aboutsummaryrefslogtreecommitdiffhomepage
path: root/client
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-02-23 15:39:50 +0100
committerChocobozzz <me@florianbigard.com>2018-02-23 15:39:50 +0100
commit998acc2215059428fc207ae7f3948038883179b7 (patch)
tree253eeecdf2fcbbd84bc906dc459f123d9b55be0f /client
parent285fe7c93072b2a8e6a9af6b7e8ffcdefcffbddf (diff)
downloadPeerTube-998acc2215059428fc207ae7f3948038883179b7.tar.gz
PeerTube-998acc2215059428fc207ae7f3948038883179b7.tar.zst
PeerTube-998acc2215059428fc207ae7f3948038883179b7.zip
Add bar when loading chunks
Diffstat (limited to 'client')
-rw-r--r--client/package.json1
-rw-r--r--client/src/app/core/core.module.ts2
-rw-r--r--client/yarn.lock7
3 files changed, 10 insertions, 0 deletions
diff --git a/client/package.json b/client/package.json
index 401f6bd61..96efcd519 100644
--- a/client/package.json
+++ b/client/package.json
@@ -38,6 +38,7 @@
38 "@angularclass/hmr": "^2.1.3", 38 "@angularclass/hmr": "^2.1.3",
39 "@ngx-loading-bar/core": "^1.1.1", 39 "@ngx-loading-bar/core": "^1.1.1",
40 "@ngx-loading-bar/http-client": "^1.0.0-rc.1", 40 "@ngx-loading-bar/http-client": "^1.0.0-rc.1",
41 "@ngx-loading-bar/router": "^1.2.0",
41 "@ngx-meta/core": "^5.0.0", 42 "@ngx-meta/core": "^5.0.0",
42 "@types/core-js": "^0.9.28", 43 "@types/core-js": "^0.9.28",
43 "@types/lodash-es": "^4.17.0", 44 "@types/lodash-es": "^4.17.0",
diff --git a/client/src/app/core/core.module.ts b/client/src/app/core/core.module.ts
index 36dbe8b5c..708831965 100644
--- a/client/src/app/core/core.module.ts
+++ b/client/src/app/core/core.module.ts
@@ -5,6 +5,7 @@ import { BrowserAnimationsModule } from '@angular/platform-browser/animations'
5import { RouterModule } from '@angular/router' 5import { RouterModule } from '@angular/router'
6import { LoadingBarModule } from '@ngx-loading-bar/core' 6import { LoadingBarModule } from '@ngx-loading-bar/core'
7import { LoadingBarHttpClientModule } from '@ngx-loading-bar/http-client' 7import { LoadingBarHttpClientModule } from '@ngx-loading-bar/http-client'
8import { LoadingBarRouterModule } from '@ngx-loading-bar/router'
8 9
9import { SimpleNotificationsModule } from 'angular2-notifications' 10import { SimpleNotificationsModule } from 'angular2-notifications'
10import { ModalModule } from 'ngx-bootstrap/modal' 11import { ModalModule } from 'ngx-bootstrap/modal'
@@ -26,6 +27,7 @@ import { ServerService } from './server'
26 SimpleNotificationsModule.forRoot(), 27 SimpleNotificationsModule.forRoot(),
27 28
28 LoadingBarHttpClientModule, 29 LoadingBarHttpClientModule,
30 LoadingBarRouterModule,
29 LoadingBarModule.forRoot() 31 LoadingBarModule.forRoot()
30 ], 32 ],
31 33
diff --git a/client/yarn.lock b/client/yarn.lock
index 898930547..003832adf 100644
--- a/client/yarn.lock
+++ b/client/yarn.lock
@@ -203,6 +203,13 @@
203 "@ngx-loading-bar/core" "1.2.0" 203 "@ngx-loading-bar/core" "1.2.0"
204 tslib "^1.7.1" 204 tslib "^1.7.1"
205 205
206"@ngx-loading-bar/router@^1.2.0":
207 version "1.2.0"
208 resolved "https://registry.yarnpkg.com/@ngx-loading-bar/router/-/router-1.2.0.tgz#f6a61d011b9bd656102250694e5cc6b0c0fe2d53"
209 dependencies:
210 "@ngx-loading-bar/core" "1.2.0"
211 tslib "^1.7.1"
212
206"@ngx-meta/core@^5.0.0": 213"@ngx-meta/core@^5.0.0":
207 version "5.0.0" 214 version "5.0.0"
208 resolved "https://registry.yarnpkg.com/@ngx-meta/core/-/core-5.0.0.tgz#9ae9107f7bce169870caa5a1b8b3533ae46bc4c6" 215 resolved "https://registry.yarnpkg.com/@ngx-meta/core/-/core-5.0.0.tgz#9ae9107f7bce169870caa5a1b8b3533ae46bc4c6"