diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2016-09-23 17:31:41 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2016-09-23 17:31:41 +0200 |
commit | c53d2a4e5e3431f0b18c751c9afd5fe3d7f530f6 (patch) | |
tree | 86c4e6b2635ecfacbac1c0f0ab1661784f11f2bc /client | |
parent | bed3143eb9e16079b9614446572525e3f69b76a8 (diff) | |
download | PeerTube-c53d2a4e5e3431f0b18c751c9afd5fe3d7f530f6.tar.gz PeerTube-c53d2a4e5e3431f0b18c751c9afd5fe3d7f530f6.tar.zst PeerTube-c53d2a4e5e3431f0b18c751c9afd5fe3d7f530f6.zip |
Client: Update ng2-file-upload to the module part
Diffstat (limited to 'client')
-rw-r--r-- | client/package.json | 2 | ||||
-rw-r--r-- | client/src/app/app.module.ts | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/client/package.json b/client/package.json index 629723b54..16aae6e14 100644 --- a/client/package.json +++ b/client/package.json | |||
@@ -61,7 +61,7 @@ | |||
61 | "reflect-metadata": "0.1.3", | 61 | "reflect-metadata": "0.1.3", |
62 | "resolve-url-loader": "^1.6.0", | 62 | "resolve-url-loader": "^1.6.0", |
63 | "rxjs": "5.0.0-beta.12", | 63 | "rxjs": "5.0.0-beta.12", |
64 | "sass-loader": "^3.2.3", | 64 | "sass-loader": "^4.0.2", |
65 | "source-map-loader": "^0.1.5", | 65 | "source-map-loader": "^0.1.5", |
66 | "string-replace-loader": "^1.0.3", | 66 | "string-replace-loader": "^1.0.3", |
67 | "style-loader": "^0.13.1", | 67 | "style-loader": "^0.13.1", |
diff --git a/client/src/app/app.module.ts b/client/src/app/app.module.ts index f9a9ae760..980625f13 100644 --- a/client/src/app/app.module.ts +++ b/client/src/app/app.module.ts | |||
@@ -8,7 +8,7 @@ import { removeNgStyles, createNewHosts } from '@angularclass/hmr'; | |||
8 | import { BytesPipe } from 'angular-pipes/src/math/bytes.pipe'; | 8 | import { BytesPipe } from 'angular-pipes/src/math/bytes.pipe'; |
9 | import { ProgressbarModule } from 'ng2-bootstrap/components/progressbar'; | 9 | import { ProgressbarModule } from 'ng2-bootstrap/components/progressbar'; |
10 | import { PaginationModule } from 'ng2-bootstrap/components/pagination'; | 10 | import { PaginationModule } from 'ng2-bootstrap/components/pagination'; |
11 | import { FileSelectDirective } from 'ng2-file-upload/ng2-file-upload'; | 11 | import { FileUploadModule } from 'ng2-file-upload/ng2-file-upload'; |
12 | 12 | ||
13 | /* | 13 | /* |
14 | * Platform and Environment providers/directives/pipes | 14 | * Platform and Environment providers/directives/pipes |
@@ -84,7 +84,6 @@ const APP_PROVIDERS = [ | |||
84 | AdminComponent, | 84 | AdminComponent, |
85 | AppComponent, | 85 | AppComponent, |
86 | BytesPipe, | 86 | BytesPipe, |
87 | FileSelectDirective, | ||
88 | FriendAddComponent, | 87 | FriendAddComponent, |
89 | FriendListComponent, | 88 | FriendListComponent, |
90 | FriendsComponent, | 89 | FriendsComponent, |
@@ -113,7 +112,8 @@ const APP_PROVIDERS = [ | |||
113 | RouterModule.forRoot(routes), | 112 | RouterModule.forRoot(routes), |
114 | 113 | ||
115 | ProgressbarModule, | 114 | ProgressbarModule, |
116 | PaginationModule | 115 | PaginationModule, |
116 | FileUploadModule | ||
117 | ], | 117 | ], |
118 | providers: [ // expose our Services and Providers into Angular's dependency injection | 118 | providers: [ // expose our Services and Providers into Angular's dependency injection |
119 | ENV_PROVIDERS, | 119 | ENV_PROVIDERS, |