aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/app/videos/video-add/video-add.component.ts
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2016-05-31 22:39:36 +0200
committerChocobozzz <florian.bigard@gmail.com>2016-05-31 22:39:36 +0200
commitd3ef341abe8fb890a085189f5e4d0a5bd38d0172 (patch)
tree333c058390607cac1aec22169a2feb7d9cee3a00 /client/app/videos/video-add/video-add.component.ts
parent092fbf58cca91d1a2ce0c84f47ef7856c9e56cdb (diff)
downloadPeerTube-d3ef341abe8fb890a085189f5e4d0a5bd38d0172.tar.gz
PeerTube-d3ef341abe8fb890a085189f5e4d0a5bd38d0172.tar.zst
PeerTube-d3ef341abe8fb890a085189f5e4d0a5bd38d0172.zip
Move webtorrent inside a service
Diffstat (limited to 'client/app/videos/video-add/video-add.component.ts')
-rw-r--r--client/app/videos/video-add/video-add.component.ts8
1 files changed, 4 insertions, 4 deletions
diff --git a/client/app/videos/video-add/video-add.component.ts b/client/app/videos/video-add/video-add.component.ts
index eb10aedeb..619a4f4d8 100644
--- a/client/app/videos/video-add/video-add.component.ts
+++ b/client/app/videos/video-add/video-add.component.ts
@@ -1,3 +1,6 @@
1/// <reference path="../../../typings/globals/jquery/index.d.ts" />
2/// <reference path="../../../typings/globals/jquery.fileupload/index.d.ts" />
3
1import { Component, ElementRef, OnInit } from '@angular/core'; 4import { Component, ElementRef, OnInit } from '@angular/core';
2import { Router } from '@angular/router-deprecated'; 5import { Router } from '@angular/router-deprecated';
3 6
@@ -6,9 +9,6 @@ import { PROGRESSBAR_DIRECTIVES } from 'ng2-bootstrap/components/progressbar';
6 9
7import { AuthService, User } from '../../users/index'; 10import { AuthService, User } from '../../users/index';
8 11
9// TODO: import it with systemjs
10declare var jQuery: any;
11
12@Component({ 12@Component({
13 selector: 'my-videos-add', 13 selector: 'my-videos-add',
14 styleUrls: [ 'client/app/videos/video-add/video-add.component.css' ], 14 styleUrls: [ 'client/app/videos/video-add/video-add.component.css' ],
@@ -37,7 +37,7 @@ export class VideoAddComponent implements OnInit {
37 dataType: 'json', 37 dataType: 'json',
38 singleFileUploads: true, 38 singleFileUploads: true,
39 multipart: true, 39 multipart: true,
40 autoupload: false, 40 autoUpload: false,
41 41
42 add: (e, data) => { 42 add: (e, data) => {
43 this.form = data; 43 this.form = data;