mirror of https://github.com/Chocobozzz/PeerTube
Do not import whole rxjs
parent
e56b20f587
commit
5555f886c0
|
@ -1,6 +1,6 @@
|
|||
import { Injectable } from '@angular/core';
|
||||
import { Http, Response } from '@angular/http';
|
||||
import { Observable } from 'rxjs/Rx';
|
||||
import { Observable } from 'rxjs/Observable';
|
||||
|
||||
import { AuthService } from '../shared';
|
||||
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
import { Injectable } from '@angular/core';
|
||||
import { Headers, Http, RequestOptions, Response, URLSearchParams } from '@angular/http';
|
||||
import { Observable, Subject } from 'rxjs/Rx';
|
||||
import { Observable } from 'rxjs/Observable';
|
||||
import { Subject } from 'rxjs/Subject';
|
||||
|
||||
import { AuthStatus } from './auth-status.model';
|
||||
import { User } from './user.model';
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import { Injectable } from '@angular/core';
|
||||
import { Http, Response, URLSearchParams } from '@angular/http';
|
||||
import { Observable } from 'rxjs/Rx';
|
||||
import { Observable } from 'rxjs/Observable';
|
||||
|
||||
import { Pagination } from './pagination.model';
|
||||
import { Search } from '../../shared';
|
||||
|
|
|
@ -15,6 +15,7 @@
|
|||
|
||||
<!-- 3. Display the application -->
|
||||
<body>
|
||||
<my-app>Loading...</my-app>
|
||||
<my-app>
|
||||
</my-app>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -12,6 +12,9 @@ import '@angular/http';
|
|||
import '@angular/router-deprecated';
|
||||
|
||||
// RxJS
|
||||
import 'rxjs/Observable';
|
||||
import 'rxjs/Subject';
|
||||
import 'rxjs/add/operator/catch';
|
||||
import 'rxjs/add/operator/map';
|
||||
import 'rxjs/add/operator/mergeMap';
|
||||
|
||||
|
|
Loading…
Reference in New Issue