Skip to content

Commit

Permalink
fix(aot): remove private keyword from @view and @content children. (#454
Browse files Browse the repository at this point in the history
)
  • Loading branch information
emoralesb05 authored Mar 29, 2017
1 parent 42e89c5 commit 04f2ba2
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/platform/core/data-table/data-table.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export class TdDataTableComponent implements ControlValueAccessor, AfterContentI

/** template fetching support */
private _templateMap: Map<string, TemplateRef<any>> = new Map<string, TemplateRef<any>>();
@ContentChildren(TdDataTableTemplateDirective) private _templates: QueryList<TdDataTableTemplateDirective>;
@ContentChildren(TdDataTableTemplateDirective) _templates: QueryList<TdDataTableTemplateDirective>;

/**
* Implemented as part of ControlValueAccessor.
Expand Down
2 changes: 1 addition & 1 deletion src/platform/core/file/file-input/file-input.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export class TdFileInputComponent implements ControlValueAccessor {
private _disabled: boolean = false;

/** The native `<input type="file"> element */
@ViewChild('fileInput') private _inputElement: ElementRef;
@ViewChild('fileInput') _inputElement: ElementRef;
get inputElement(): HTMLInputElement {
return this._inputElement.nativeElement;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export class TdNavigationDrawerComponent implements OnInit, OnDestroy {
return this._menuToggled;
}

@ContentChildren(TdNavigationDrawerMenuDirective) private _drawerMenu: QueryList<TdNavigationDrawerMenuDirective>;
@ContentChildren(TdNavigationDrawerMenuDirective) _drawerMenu: QueryList<TdNavigationDrawerMenuDirective>;

/**
* Checks if there is a [TdNavigationDrawerMenuDirective] as content.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import { TdSearchInputComponent } from '../search-input/search-input.component';
export class TdSearchBoxComponent {

private _searchVisible: boolean = false;
@ViewChild(TdSearchInputComponent) private _searchInput: TdSearchInputComponent;
@ViewChild(TdSearchInputComponent) _searchInput: TdSearchInputComponent;

set value(value: any) {
this._searchInput.value = value;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import 'rxjs/add/operator/debounceTime';
})
export class TdSearchInputComponent implements OnInit {

@ViewChild(MdInputDirective) private _input: MdInputDirective;
@ViewChild(MdInputDirective) _input: MdInputDirective;

value: string;

Expand Down
2 changes: 1 addition & 1 deletion src/platform/core/steps/step.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export class TdStepComponent implements OnInit {
return this._contentPortal;
}

@ViewChild(TemplateRef) private _content: TemplateRef<any>;
@ViewChild(TemplateRef) _content: TemplateRef<any>;
@ContentChild(TdStepLabelDirective) stepLabel: TdStepLabelDirective;
@ContentChild(TdStepActionsDirective) stepActions: TdStepActionsDirective;
@ContentChild(TdStepSummaryDirective) stepSummary: TdStepSummaryDirective;
Expand Down

0 comments on commit 04f2ba2

Please sign in to comment.