Fixing tests and lint errors
This commit is contained in:
@@ -31,4 +31,4 @@ let gettingStarted = require('./getting-started.md');
|
||||
`
|
||||
})
|
||||
export class DemoComponent {
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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 {
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user