Skip to content

Commit

Permalink
fix: export missing function for aot (#171)
Browse files Browse the repository at this point in the history
fixes #169
  • Loading branch information
anjmao committed Dec 20, 2017
1 parent 716ae57 commit ffabe34
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ node_js:
cache:
directories:
- node_modules
- integration/node_modules
os:
- linux
addons:
Expand Down
2 changes: 1 addition & 1 deletion integration/src/app/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import {NgSelectModule} from '@ng-select/ng-select';
CommonModule,
FormsModule,
BrowserModule,
NgSelectModule
NgSelectModule.forRoot({clearAllText: ''})
],
providers: [],
bootstrap: [AppComponent]
Expand Down
2 changes: 1 addition & 1 deletion src/ng-select/ng-select.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export class NgSelectModule {
}
}

function provideModule(config: NgSelectConfig) {
export function provideModule(config: NgSelectConfig) {
return {
ngModule: NgSelectModule,
providers: [
Expand Down
2 changes: 1 addition & 1 deletion src/ng-select/ng-select.types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@ export class NgSelectConfig {
typeToSearchText?= 'Type to search';
addTagText?= 'Add item';
loadingText?= 'Loading...';
clearAllText = 'Clear all';
clearAllText? = 'Clear all';
disableVirtualScroll?= false;
}

0 comments on commit ffabe34

Please sign in to comment.