aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/angular
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2016-05-13 14:18:37 +0200
committerChocobozzz <florian.bigard@gmail.com>2016-05-13 14:23:11 +0200
commit230809efa1e7e81ce60cd65f8b398f01a27d525b (patch)
treeddbd0cee82bd2d35d01a1307a2905a467f51ca6b /client/angular
parentbc503c2a62dcf9aed6b8d90b68f0f27a7755ac01 (diff)
downloadPeerTube-230809efa1e7e81ce60cd65f8b398f01a27d525b.tar.gz
PeerTube-230809efa1e7e81ce60cd65f8b398f01a27d525b.tar.zst
PeerTube-230809efa1e7e81ce60cd65f8b398f01a27d525b.zip
Update to Angular RC 1
Diffstat (limited to 'client/angular')
-rw-r--r--client/angular/app/app.component.ts6
-rw-r--r--client/angular/friends/services/friends.service.ts4
-rw-r--r--client/angular/main.ts (renamed from client/angular/bootstrap.ts)2
-rw-r--r--client/angular/users/components/login/login.component.ts4
-rw-r--r--client/angular/users/services/auth.service.ts4
-rw-r--r--client/angular/videos/components/add/videos-add.component.ts4
-rw-r--r--client/angular/videos/components/list/videos-list.component.ts4
-rw-r--r--client/angular/videos/components/watch/videos-watch.component.ts6
-rw-r--r--client/angular/videos/services/videos.service.ts4
9 files changed, 19 insertions, 19 deletions
diff --git a/client/angular/app/app.component.ts b/client/angular/app/app.component.ts
index 83a4f3310..359d7128e 100644
--- a/client/angular/app/app.component.ts
+++ b/client/angular/app/app.component.ts
@@ -1,6 +1,6 @@
1import { Component } from 'angular2/core'; 1import { Component } from '@angular/core';
2import { RouteConfig, ROUTER_DIRECTIVES, ROUTER_PROVIDERS, Router } from 'angular2/router'; 2import { RouteConfig, ROUTER_DIRECTIVES, ROUTER_PROVIDERS, Router } from '@angular/router-deprecated';
3import { HTTP_PROVIDERS } from 'angular2/http'; 3import { HTTP_PROVIDERS } from '@angular/http';
4 4
5import { VideosAddComponent } from '../videos/components/add/videos-add.component'; 5import { VideosAddComponent } from '../videos/components/add/videos-add.component';
6import { VideosListComponent } from '../videos/components/list/videos-list.component'; 6import { VideosListComponent } from '../videos/components/list/videos-list.component';
diff --git a/client/angular/friends/services/friends.service.ts b/client/angular/friends/services/friends.service.ts
index 4eb1fc67b..cb34323e4 100644
--- a/client/angular/friends/services/friends.service.ts
+++ b/client/angular/friends/services/friends.service.ts
@@ -1,5 +1,5 @@
1import { Injectable } from 'angular2/core'; 1import { Injectable } from '@angular/core';
2import { Http, Response } from 'angular2/http'; 2import { Http, Response } from '@angular/http';
3import { Observable } from 'rxjs/Rx'; 3import { Observable } from 'rxjs/Rx';
4 4
5@Injectable() 5@Injectable()
diff --git a/client/angular/bootstrap.ts b/client/angular/main.ts
index d0f524f4a..e35f7dbdf 100644
--- a/client/angular/bootstrap.ts
+++ b/client/angular/main.ts
@@ -1,4 +1,4 @@
1import { bootstrap } from 'angular2/platform/browser'; 1import { bootstrap } from '@angular/platform-browser-dynamic';
2import { AppComponent } from './app/app.component'; 2import { AppComponent } from './app/app.component';
3 3
4bootstrap(AppComponent); 4bootstrap(AppComponent);
diff --git a/client/angular/users/components/login/login.component.ts b/client/angular/users/components/login/login.component.ts
index cecf5d2fd..d339353ef 100644
--- a/client/angular/users/components/login/login.component.ts
+++ b/client/angular/users/components/login/login.component.ts
@@ -1,5 +1,5 @@
1import { Component } from 'angular2/core'; 1import { Component } from '@angular/core';
2import { Router } from 'angular2/router'; 2import { Router } from '@angular/router-deprecated';
3 3
4import { AuthService } from '../../services/auth.service'; 4import { AuthService } from '../../services/auth.service';
5import { AuthStatus } from '../../models/authStatus'; 5import { AuthStatus } from '../../models/authStatus';
diff --git a/client/angular/users/services/auth.service.ts b/client/angular/users/services/auth.service.ts
index fc5048d8a..099563d43 100644
--- a/client/angular/users/services/auth.service.ts
+++ b/client/angular/users/services/auth.service.ts
@@ -1,5 +1,5 @@
1import { Injectable } from 'angular2/core'; 1import { Injectable } from '@angular/core';
2import { Http, Response, Headers, URLSearchParams, RequestOptions } from 'angular2/http'; 2import { Http, Response, Headers, URLSearchParams, RequestOptions } from '@angular/http';
3import { Observable, Subject } from 'rxjs/Rx'; 3import { Observable, Subject } from 'rxjs/Rx';
4 4
5import { AuthStatus } from '../models/authStatus'; 5import { AuthStatus } from '../models/authStatus';
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 @@
1import { Component, ElementRef, OnInit } from 'angular2/core'; 1import { Component, ElementRef, OnInit } from '@angular/core';
2import { Router } from 'angular2/router'; 2import { Router } from '@angular/router-deprecated';
3 3
4import { AuthService } from '../../../users/services/auth.service'; 4import { AuthService } from '../../../users/services/auth.service';
5import { User } from '../../../users/models/user'; 5import { 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 @@
1import { Component, OnInit } from 'angular2/core'; 1import { Component, OnInit } from '@angular/core';
2import { ROUTER_DIRECTIVES, RouteParams } from 'angular2/router'; 2import { ROUTER_DIRECTIVES, RouteParams } from '@angular/router-deprecated';
3 3
4import { AuthService } from '../../../users/services/auth.service'; 4import { AuthService } from '../../../users/services/auth.service';
5import { User } from '../../../users/models/user'; 5import { 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 @@
1import { Component, OnInit, ElementRef } from 'angular2/core'; 1import { Component, OnInit, ElementRef } from '@angular/core';
2import { RouteParams, CanDeactivate, ComponentInstruction } from 'angular2/router'; 2import { RouteParams, CanDeactivate, ComponentInstruction } from '@angular/router-deprecated';
3import { BytesPipe } from 'angular-pipes/math'; 3import { BytesPipe } from 'angular-pipes/src/math/bytes.pipe';
4 4
5// TODO import it with systemjs 5// TODO import it with systemjs
6declare var WebTorrent: any; 6declare 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 @@
1import { Injectable } from 'angular2/core'; 1import { Injectable } from '@angular/core';
2import { Http, Response } from 'angular2/http'; 2import { Http, Response } from '@angular/http';
3import { Observable } from 'rxjs/Rx'; 3import { Observable } from 'rxjs/Rx';
4 4
5import { Video } from '../models/video'; 5import { Video } from '../models/video';