mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-06 03:50:26 +02:00
Update to Angular RC 1
This commit is contained in:
parent
bc503c2a62
commit
230809efa1
20 changed files with 135 additions and 55 deletions
|
@ -1,6 +1,6 @@
|
|||
import { Component } from 'angular2/core';
|
||||
import { RouteConfig, ROUTER_DIRECTIVES, ROUTER_PROVIDERS, Router } from 'angular2/router';
|
||||
import { HTTP_PROVIDERS } from 'angular2/http';
|
||||
import { Component } from '@angular/core';
|
||||
import { RouteConfig, ROUTER_DIRECTIVES, ROUTER_PROVIDERS, Router } from '@angular/router-deprecated';
|
||||
import { HTTP_PROVIDERS } from '@angular/http';
|
||||
|
||||
import { VideosAddComponent } from '../videos/components/add/videos-add.component';
|
||||
import { VideosListComponent } from '../videos/components/list/videos-list.component';
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import { Injectable } from 'angular2/core';
|
||||
import { Http, Response } from 'angular2/http';
|
||||
import { Injectable } from '@angular/core';
|
||||
import { Http, Response } from '@angular/http';
|
||||
import { Observable } from 'rxjs/Rx';
|
||||
|
||||
@Injectable()
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { bootstrap } from 'angular2/platform/browser';
|
||||
import { bootstrap } from '@angular/platform-browser-dynamic';
|
||||
import { AppComponent } from './app/app.component';
|
||||
|
||||
bootstrap(AppComponent);
|
|
@ -1,5 +1,5 @@
|
|||
import { Component } from 'angular2/core';
|
||||
import { Router } from 'angular2/router';
|
||||
import { Component } from '@angular/core';
|
||||
import { Router } from '@angular/router-deprecated';
|
||||
|
||||
import { AuthService } from '../../services/auth.service';
|
||||
import { AuthStatus } from '../../models/authStatus';
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import { Injectable } from 'angular2/core';
|
||||
import { Http, Response, Headers, URLSearchParams, RequestOptions } from 'angular2/http';
|
||||
import { Injectable } from '@angular/core';
|
||||
import { Http, Response, Headers, URLSearchParams, RequestOptions } from '@angular/http';
|
||||
import { Observable, Subject } from 'rxjs/Rx';
|
||||
|
||||
import { AuthStatus } from '../models/authStatus';
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import { Component, ElementRef, OnInit } from 'angular2/core';
|
||||
import { Router } from 'angular2/router';
|
||||
import { Component, ElementRef, OnInit } from '@angular/core';
|
||||
import { Router } from '@angular/router-deprecated';
|
||||
|
||||
import { AuthService } from '../../../users/services/auth.service';
|
||||
import { User } from '../../../users/models/user';
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import { Component, OnInit } from 'angular2/core';
|
||||
import { ROUTER_DIRECTIVES, RouteParams } from 'angular2/router';
|
||||
import { Component, OnInit } from '@angular/core';
|
||||
import { ROUTER_DIRECTIVES, RouteParams } from '@angular/router-deprecated';
|
||||
|
||||
import { AuthService } from '../../../users/services/auth.service';
|
||||
import { User } from '../../../users/models/user';
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import { Component, OnInit, ElementRef } from 'angular2/core';
|
||||
import { RouteParams, CanDeactivate, ComponentInstruction } from 'angular2/router';
|
||||
import { BytesPipe } from 'angular-pipes/math';
|
||||
import { Component, OnInit, ElementRef } from '@angular/core';
|
||||
import { RouteParams, CanDeactivate, ComponentInstruction } from '@angular/router-deprecated';
|
||||
import { BytesPipe } from 'angular-pipes/src/math/bytes.pipe';
|
||||
|
||||
// TODO import it with systemjs
|
||||
declare var WebTorrent: any;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import { Injectable } from 'angular2/core';
|
||||
import { Http, Response } from 'angular2/http';
|
||||
import { Injectable } from '@angular/core';
|
||||
import { Http, Response } from '@angular/http';
|
||||
import { Observable } from 'rxjs/Rx';
|
||||
|
||||
import { Video } from '../models/video';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue