Skip to content

Commit

Permalink
Merge pull request valor-software#11 from valor-software/feature-0.46…
Browse files Browse the repository at this point in the history
…-integration

Fixed: angular 0.46.0 demo valor-software#10
  • Loading branch information
valorkin committed Dec 3, 2015
2 parents 694aca9 + c940d04 commit 7d5f015
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 19 deletions.
4 changes: 2 additions & 2 deletions demo/components/file-upload-section.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import {Component, View, CORE_DIRECTIVES} from 'angular2/angular2';

import {tabs} from 'ng2-bootstrap';
import {tabs} from 'ng2-bootstrap/ng2-bootstrap';
import {SimpleDemo} from './file-upload/simple-demo';

let name = 'File Upload';
Expand Down Expand Up @@ -76,7 +76,7 @@ tabDesc.forEach(desc => {
export class FileUploadSection {
private currentHeading:string = 'Simple';

private select(e) {
private select(e:any) {
if (e.heading) {
this.currentHeading = e.heading;
}
Expand Down
4 changes: 3 additions & 1 deletion demo/components/file-upload/simple-demo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ import {
CORE_DIRECTIVES, FORM_DIRECTIVES, NgClass, NgStyle
} from 'angular2/angular2';

import {FileSelect, FileDrop, FileUploader} from '../../../components/index';
import {FileSelect} from '../../../components/file-upload/file-select';
import {FileDrop} from '../../../components/file-upload/file-drop';
import {FileUploader} from '../../../components/file-upload/file-uploader';

// webpack html imports
let template = require('./simple-demo.html');
Expand Down
26 changes: 13 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,25 +30,25 @@
"homepage": "https://github.com/valor-software/ng2-file-upload#readme",
"dependencies": {
"angular2": "2.0.0-alpha.46",
"ng2-bootstrap": "0.46.0",
"reflect-metadata": "0.1.2",
"@reactivex/rxjs": "5.0.0-alpha.7",
"zone.js": "0.5.8"
},
"devDependencies": {
"bootstrap": "3.3.5",
"clean-webpack-plugin": "0.1.3",
"bootstrap": "3.3.6",
"ng2-bootstrap": "0.46.0",
"clean-webpack-plugin": "0.1.4",
"compression-webpack-plugin": "0.2.0",
"eslint": "1.7.2",
"eslint": "1.10.3",
"exports-loader": "0.6.2",
"file-loader": "0.8.4",
"file-loader": "0.8.5",
"gulp": "3.9.0",
"gulp-clean": "0.3.1",
"gulp-eslint": "1.0.0",
"gulp-eslint": "1.1.1",
"gulp-size": "2.0.0",
"gulp-tsc": "1.1.1",
"gulp-tslint": "3.3.1",
"html-loader": "0.3.0",
"gulp-tsc": "1.1.4",
"gulp-tslint": "4.1.0",
"html-loader": "0.4.0",
"markdown-loader": "0.1.7",
"marked": "0.3.5",
"moment": "2.10.6",
Expand All @@ -57,10 +57,10 @@
"prismjs-loader": "0.0.2",
"raw-loader": "0.5.1",
"require-dir": "0.3.0",
"typescript": "1.6.2",
"ts-loader": "0.5.6",
"webpack": "1.12.2",
"webpack-dev-server": "1.12.1"
"typescript": "1.7.3",
"ts-loader": "0.7.2",
"webpack": "1.12.9",
"webpack-dev-server": "1.14.0"
},
"contributors": [
{
Expand Down
5 changes: 2 additions & 3 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ var config = {
'angular2/angular2',
'angular2/core'
],
'angular2-file-upload': ['components'],
'angular2-file-upload': ['ng2-file-upload'],
'angular2-file-upload-demo': 'demo'
},

Expand Down Expand Up @@ -126,8 +126,7 @@ var config = {
/\.spec\.ts$/,
/\.e2e\.ts$/,
/web_modules/,
/test/,
/node_modules/
/test/
]
}
],
Expand Down

0 comments on commit 7d5f015

Please sign in to comment.