Skip to content

Commit 916c32e

Browse files
committed
change function to private
1 parent 1efef17 commit 916c32e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/lib/list/selection-list.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,8 @@ export class MdSelectionList extends _MdSelectionListMixinBase
8686
this._tabIndex = -1;
8787
}
8888

89-
this._optionFocusSubscription = this.onFocusSubscription();
90-
this._optionDestroyStream = this.onDestroySubscription();
89+
this._optionFocusSubscription = this._onFocusSubscription();
90+
this._optionDestroyStream = this._onDestroySubscription();
9191
}
9292

9393
ngOnDestroy(): void {
@@ -107,7 +107,7 @@ export class MdSelectionList extends _MdSelectionListMixinBase
107107
/**
108108
* Map all the options' destroy event subscriptions and merge them into one stream.
109109
*/
110-
onDestroySubscription(): Subscription {
110+
private _onDestroySubscription(): Subscription {
111111
return RxChain.from(this.options.changes)
112112
.call(startWith, this.options)
113113
.call(switchMap, (options: MdListOption[]) => {
@@ -129,7 +129,7 @@ export class MdSelectionList extends _MdSelectionListMixinBase
129129
/**
130130
* Map all the options' onFocus event subscriptions and merge them into one stream.
131131
*/
132-
onFocusSubscription(): Subscription {
132+
private _onFocusSubscription(): Subscription {
133133
return RxChain.from(this.options.changes)
134134
.call(startWith, this.options)
135135
.call(switchMap, (options: MdListOption[]) => {

0 commit comments

Comments
 (0)