+/// <reference path="../../../typings/globals/jquery/index.d.ts" />
+/// <reference path="../../../typings/globals/jquery.fileupload/index.d.ts" />
+
import { Component, ElementRef, OnInit } from '@angular/core';
import { Router } from '@angular/router-deprecated';
import { AuthService, User } from '../../users/index';
-// TODO: import it with systemjs
-declare var jQuery: any;
-
@Component({
selector: 'my-videos-add',
styleUrls: [ 'client/app/videos/video-add/video-add.component.css' ],
dataType: 'json',
singleFileUploads: true,
multipart: true,
- autoupload: false,
+ autoUpload: false,
add: (e, data) => {
this.form = data;