aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2016-06-05 09:34:41 +0200
committerChocobozzz <florian.bigard@gmail.com>2016-06-05 09:34:41 +0200
commit5555f886c0efbe6ee9c3ce5bac73bd3734a4e631 (patch)
treeb59f467b17328a457ebb6cfeadd4d452cc2a3436
parente56b20f5872bc640b59501817bc41fb0db09c253 (diff)
downloadPeerTube-5555f886c0efbe6ee9c3ce5bac73bd3734a4e631.tar.gz
PeerTube-5555f886c0efbe6ee9c3ce5bac73bd3734a4e631.tar.zst
PeerTube-5555f886c0efbe6ee9c3ce5bac73bd3734a4e631.zip
Do not import whole rxjs
-rw-r--r--client/src/app/friends/friend.service.ts2
-rw-r--r--client/src/app/shared/users/auth.service.ts3
-rw-r--r--client/src/app/videos/shared/video.service.ts2
-rw-r--r--client/src/index.html3
-rw-r--r--client/src/vendor.ts3
5 files changed, 9 insertions, 4 deletions
diff --git a/client/src/app/friends/friend.service.ts b/client/src/app/friends/friend.service.ts
index a8b1a1bd3..f956a5ece 100644
--- a/client/src/app/friends/friend.service.ts
+++ b/client/src/app/friends/friend.service.ts
@@ -1,6 +1,6 @@
1import { Injectable } from '@angular/core'; 1import { Injectable } from '@angular/core';
2import { Http, Response } from '@angular/http'; 2import { Http, Response } from '@angular/http';
3import { Observable } from 'rxjs/Rx'; 3import { Observable } from 'rxjs/Observable';
4 4
5import { AuthService } from '../shared'; 5import { AuthService } from '../shared';
6 6
diff --git a/client/src/app/shared/users/auth.service.ts b/client/src/app/shared/users/auth.service.ts
index d63fe38f3..720037563 100644
--- a/client/src/app/shared/users/auth.service.ts
+++ b/client/src/app/shared/users/auth.service.ts
@@ -1,6 +1,7 @@
1import { Injectable } from '@angular/core'; 1import { Injectable } from '@angular/core';
2import { Headers, Http, RequestOptions, Response, URLSearchParams } from '@angular/http'; 2import { Headers, Http, RequestOptions, Response, URLSearchParams } from '@angular/http';
3import { Observable, Subject } from 'rxjs/Rx'; 3import { Observable } from 'rxjs/Observable';
4import { Subject } from 'rxjs/Subject';
4 5
5import { AuthStatus } from './auth-status.model'; 6import { AuthStatus } from './auth-status.model';
6import { User } from './user.model'; 7import { User } from './user.model';
diff --git a/client/src/app/videos/shared/video.service.ts b/client/src/app/videos/shared/video.service.ts
index 76d46cbb4..dcbef7717 100644
--- a/client/src/app/videos/shared/video.service.ts
+++ b/client/src/app/videos/shared/video.service.ts
@@ -1,6 +1,6 @@
1import { Injectable } from '@angular/core'; 1import { Injectable } from '@angular/core';
2import { Http, Response, URLSearchParams } from '@angular/http'; 2import { Http, Response, URLSearchParams } from '@angular/http';
3import { Observable } from 'rxjs/Rx'; 3import { Observable } from 'rxjs/Observable';
4 4
5import { Pagination } from './pagination.model'; 5import { Pagination } from './pagination.model';
6import { Search } from '../../shared'; 6import { Search } from '../../shared';
diff --git a/client/src/index.html b/client/src/index.html
index f2f601779..5cf491221 100644
--- a/client/src/index.html
+++ b/client/src/index.html
@@ -15,6 +15,7 @@
15 15
16 <!-- 3. Display the application --> 16 <!-- 3. Display the application -->
17 <body> 17 <body>
18 <my-app>Loading...</my-app> 18 <my-app>
19 </my-app>
19 </body> 20 </body>
20</html> 21</html>
diff --git a/client/src/vendor.ts b/client/src/vendor.ts
index 6d7ebc3b4..496f44cf6 100644
--- a/client/src/vendor.ts
+++ b/client/src/vendor.ts
@@ -12,6 +12,9 @@ import '@angular/http';
12import '@angular/router-deprecated'; 12import '@angular/router-deprecated';
13 13
14// RxJS 14// RxJS
15import 'rxjs/Observable';
16import 'rxjs/Subject';
17import 'rxjs/add/operator/catch';
15import 'rxjs/add/operator/map'; 18import 'rxjs/add/operator/map';
16import 'rxjs/add/operator/mergeMap'; 19import 'rxjs/add/operator/mergeMap';
17 20