diff options
Diffstat (limited to 'client/angular')
-rw-r--r-- | client/angular/app/app.component.ts | 6 | ||||
-rw-r--r-- | client/angular/friends/services/friends.service.ts | 4 | ||||
-rw-r--r-- | client/angular/main.ts (renamed from client/angular/bootstrap.ts) | 2 | ||||
-rw-r--r-- | client/angular/users/components/login/login.component.ts | 4 | ||||
-rw-r--r-- | client/angular/users/services/auth.service.ts | 4 | ||||
-rw-r--r-- | client/angular/videos/components/add/videos-add.component.ts | 4 | ||||
-rw-r--r-- | client/angular/videos/components/list/videos-list.component.ts | 4 | ||||
-rw-r--r-- | client/angular/videos/components/watch/videos-watch.component.ts | 6 | ||||
-rw-r--r-- | client/angular/videos/services/videos.service.ts | 4 |
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 @@ | |||
1 | import { Component } from 'angular2/core'; | 1 | import { Component } from '@angular/core'; |
2 | import { RouteConfig, ROUTER_DIRECTIVES, ROUTER_PROVIDERS, Router } from 'angular2/router'; | 2 | import { RouteConfig, ROUTER_DIRECTIVES, ROUTER_PROVIDERS, Router } from '@angular/router-deprecated'; |
3 | import { HTTP_PROVIDERS } from 'angular2/http'; | 3 | import { HTTP_PROVIDERS } from '@angular/http'; |
4 | 4 | ||
5 | import { VideosAddComponent } from '../videos/components/add/videos-add.component'; | 5 | import { VideosAddComponent } from '../videos/components/add/videos-add.component'; |
6 | import { VideosListComponent } from '../videos/components/list/videos-list.component'; | 6 | import { 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 @@ | |||
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 | @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 @@ | |||
1 | import { bootstrap } from 'angular2/platform/browser'; | 1 | import { bootstrap } from '@angular/platform-browser-dynamic'; |
2 | import { AppComponent } from './app/app.component'; | 2 | import { AppComponent } from './app/app.component'; |
3 | 3 | ||
4 | bootstrap(AppComponent); | 4 | bootstrap(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 @@ | |||
1 | import { Component } from 'angular2/core'; | 1 | import { Component } from '@angular/core'; |
2 | import { Router } from 'angular2/router'; | 2 | import { Router } from '@angular/router-deprecated'; |
3 | 3 | ||
4 | import { AuthService } from '../../services/auth.service'; | 4 | import { AuthService } from '../../services/auth.service'; |
5 | import { AuthStatus } from '../../models/authStatus'; | 5 | import { 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 @@ | |||
1 | import { Injectable } from 'angular2/core'; | 1 | import { Injectable } from '@angular/core'; |
2 | import { Http, Response, Headers, URLSearchParams, RequestOptions } from 'angular2/http'; | 2 | import { Http, Response, Headers, URLSearchParams, RequestOptions } from '@angular/http'; |
3 | import { Observable, Subject } from 'rxjs/Rx'; | 3 | import { Observable, Subject } from 'rxjs/Rx'; |
4 | 4 | ||
5 | import { AuthStatus } from '../models/authStatus'; | 5 | import { 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 @@ | |||
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'; |