diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2016-05-13 14:18:37 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2016-05-13 14:23:11 +0200 |
commit | 230809efa1e7e81ce60cd65f8b398f01a27d525b (patch) | |
tree | ddbd0cee82bd2d35d01a1307a2905a467f51ca6b /client/angular/videos | |
parent | bc503c2a62dcf9aed6b8d90b68f0f27a7755ac01 (diff) | |
download | PeerTube-230809efa1e7e81ce60cd65f8b398f01a27d525b.tar.gz PeerTube-230809efa1e7e81ce60cd65f8b398f01a27d525b.tar.zst PeerTube-230809efa1e7e81ce60cd65f8b398f01a27d525b.zip |
Update to Angular RC 1
Diffstat (limited to 'client/angular/videos')
4 files changed, 9 insertions, 9 deletions
diff --git a/client/angular/videos/components/add/videos-add.component.ts b/client/angular/videos/components/add/videos-add.component.ts index bc7b4057c..f801cecbb 100644 --- a/client/angular/videos/components/add/videos-add.component.ts +++ b/client/angular/videos/components/add/videos-add.component.ts | |||
@@ -1,5 +1,5 @@ | |||
1 | import { Component, ElementRef, OnInit } from 'angular2/core'; | 1 | import { Component, ElementRef, OnInit } from '@angular/core'; |
2 | import { Router } from 'angular2/router'; | 2 | import { Router } from '@angular/router-deprecated'; |
3 | 3 | ||
4 | import { AuthService } from '../../../users/services/auth.service'; | 4 | import { AuthService } from '../../../users/services/auth.service'; |
5 | import { User } from '../../../users/models/user'; | 5 | import { User } from '../../../users/models/user'; |
diff --git a/client/angular/videos/components/list/videos-list.component.ts b/client/angular/videos/components/list/videos-list.component.ts index b081522c7..6ff0b2afb 100644 --- a/client/angular/videos/components/list/videos-list.component.ts +++ b/client/angular/videos/components/list/videos-list.component.ts | |||
@@ -1,5 +1,5 @@ | |||
1 | import { Component, OnInit } from 'angular2/core'; | 1 | import { Component, OnInit } from '@angular/core'; |
2 | import { ROUTER_DIRECTIVES, RouteParams } from 'angular2/router'; | 2 | import { ROUTER_DIRECTIVES, RouteParams } from '@angular/router-deprecated'; |
3 | 3 | ||
4 | import { AuthService } from '../../../users/services/auth.service'; | 4 | import { AuthService } from '../../../users/services/auth.service'; |
5 | import { User } from '../../../users/models/user'; | 5 | import { User } from '../../../users/models/user'; |
diff --git a/client/angular/videos/components/watch/videos-watch.component.ts b/client/angular/videos/components/watch/videos-watch.component.ts index b996ad882..6ac2787ed 100644 --- a/client/angular/videos/components/watch/videos-watch.component.ts +++ b/client/angular/videos/components/watch/videos-watch.component.ts | |||
@@ -1,6 +1,6 @@ | |||
1 | import { Component, OnInit, ElementRef } from 'angular2/core'; | 1 | import { Component, OnInit, ElementRef } from '@angular/core'; |
2 | import { RouteParams, CanDeactivate, ComponentInstruction } from 'angular2/router'; | 2 | import { RouteParams, CanDeactivate, ComponentInstruction } from '@angular/router-deprecated'; |
3 | import { BytesPipe } from 'angular-pipes/math'; | 3 | import { BytesPipe } from 'angular-pipes/src/math/bytes.pipe'; |
4 | 4 | ||
5 | // TODO import it with systemjs | 5 | // TODO import it with systemjs |
6 | declare var WebTorrent: any; | 6 | declare var WebTorrent: any; |
diff --git a/client/angular/videos/services/videos.service.ts b/client/angular/videos/services/videos.service.ts index 74b6a1ddc..d08548339 100644 --- a/client/angular/videos/services/videos.service.ts +++ b/client/angular/videos/services/videos.service.ts | |||
@@ -1,5 +1,5 @@ | |||
1 | import { Injectable } from 'angular2/core'; | 1 | import { Injectable } from '@angular/core'; |
2 | import { Http, Response } from 'angular2/http'; | 2 | import { Http, Response } from '@angular/http'; |
3 | import { Observable } from 'rxjs/Rx'; | 3 | import { Observable } from 'rxjs/Rx'; |
4 | 4 | ||
5 | import { Video } from '../models/video'; | 5 | import { Video } from '../models/video'; |