feat(package): upgrade to angular 2.0.0-rc.1 (#176)
* Upgrade to angular 2.0.0-rc.1 * Add a simple .travis.yml closes #180 * Upgrade to ng2-bootstrap 1.0.16 * Install typings on prepublish * (chore) Fix rxjs dependency, moved it to dev dep * (chore) Upgrade to node 6. Keep mandatory deps.
This commit was merged in pull request #176.
This commit is contained in:
committed by
Dmitriy Shekhovtsov
parent
32219befa8
commit
13c5c35864
@@ -1,7 +1,7 @@
|
||||
/// <reference path="../../tsd.d.ts" />
|
||||
|
||||
import {Component, View} from 'angular2/core';
|
||||
import {CORE_DIRECTIVES} from 'angular2/common';
|
||||
import {Component} from '@angular/core';
|
||||
import {CORE_DIRECTIVES} from '@angular/common';
|
||||
|
||||
import {TAB_DIRECTIVES} from 'ng2-bootstrap/ng2-bootstrap';
|
||||
import {SimpleDemo} from './file-upload/simple-demo';
|
||||
|
||||
@@ -59,7 +59,7 @@
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr *ngFor="#item of uploader.queue">
|
||||
<tr *ngFor="let item of uploader.queue">
|
||||
<td><strong>{{ item?.file?.name }}</strong></td>
|
||||
<td *ngIf="uploader.isHTML5" nowrap>{{ item?.file?.size/1024/1024 | number:'.2' }} MB</td>
|
||||
<td *ngIf="uploader.isHTML5">
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/// <reference path="../../../tsd.d.ts" />
|
||||
|
||||
import {Component} from 'angular2/core';
|
||||
import {CORE_DIRECTIVES, FORM_DIRECTIVES, NgClass, NgStyle} from 'angular2/common';
|
||||
import {Component} from '@angular/core';
|
||||
import {CORE_DIRECTIVES, FORM_DIRECTIVES, NgClass, NgStyle} from '@angular/common';
|
||||
import {FILE_UPLOAD_DIRECTIVES, FileUploader} from '../../../ng2-file-upload';
|
||||
|
||||
// webpack html imports
|
||||
|
||||
@@ -1,16 +1,14 @@
|
||||
/// <reference path="../tsd.d.ts" />
|
||||
import {bootstrap} from 'angular2/platform/browser';
|
||||
import {Component, View} from 'angular2/core';
|
||||
import {NgClass} from 'angular2/common';
|
||||
import {bootstrap} from '@angular/platform-browser-dynamic';
|
||||
import {Component} from '@angular/core';
|
||||
import {NgClass} from '@angular/common';
|
||||
|
||||
import {FileUploadSection} from './components/file-upload-section';
|
||||
|
||||
let gettingStarted = require('./getting-started.md');
|
||||
|
||||
@Component({
|
||||
selector: 'app'
|
||||
})
|
||||
@View({
|
||||
selector: 'app',
|
||||
template: `
|
||||
<main class="bd-pageheader">
|
||||
<div class="container">
|
||||
|
||||
Reference in New Issue
Block a user