Fixing tests and lint errors

This commit is contained in:
Adrian Fâciu
2016-09-07 22:24:43 +03:00
parent 6f42e303f9
commit 48128becdd
5 changed files with 20 additions and 15 deletions

View File

@@ -31,4 +31,4 @@ let gettingStarted = require('./getting-started.md');
`
})
export class DemoComponent {
}
}

View File

@@ -11,8 +11,6 @@ let tabDesc:Array<any> = [
}
];
// <{{desc.heading.toLowerCase()}}-demo *ngIf="currentHeading === '{{desc.heading}}'"></{{desc.heading.toLowerCase()}}-demo>
@Component({
selector: 'file-upload-section',
template: `
@@ -55,7 +53,7 @@ let tabDesc:Array<any> = [
<div class="card card-block panel panel-default panel-body" [innerHTML]="doc"></div>
</div>
</section>
`,
`
})
export class FileUploadSectionComponent {
public name:string = 'File Upload';
@@ -68,4 +66,4 @@ export class FileUploadSectionComponent {
this.currentHeading = e.heading;
}
}
}
}

View File

@@ -3,7 +3,7 @@ import { NgModule } from '@angular/core';
import { FormsModule } from '@angular/forms';
import { BrowserModule } from '@angular/platform-browser';
import { Ng2BootstrapModule } from 'ng2-bootstrap/ng2-bootstrap'
import { Ng2BootstrapModule } from 'ng2-bootstrap/ng2-bootstrap';
import { FileUploadModule } from '../components/file-upload/file-upload.module';
import { DemoComponent } from './app.component.ts';
import { FileUploadSectionComponent } from './components/file-upload-section';
@@ -15,4 +15,4 @@ import { SimpleDemoComponent } from './components/file-upload/simple-demo';
bootstrap: [DemoComponent]
})
export class NgFileUploadDemo {
}
}