Skip to content

Commit bc074a1

Browse files
johanbjelbourn
authored andcommitted
docs(dialog): fix misleading code comment (#3894)
1 parent c486cf8 commit bc074a1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/lib/dialog/dialog.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,12 @@ export class MdDialog {
2727
return this._parentDialog ? this._parentDialog._openDialogs : this._openDialogsAtThisLevel;
2828
}
2929

30-
/** Subject for notifying the user that all open dialogs have finished closing. */
30+
/** Subject for notifying the user that a dialog has opened. */
3131
get _afterOpen(): Subject<MdDialogRef<any>> {
3232
return this._parentDialog ? this._parentDialog._afterOpen : this._afterOpenAtThisLevel;
3333
}
34-
/** Subject for notifying the user that a dialog has opened. */
34+
35+
/** Subject for notifying the user that all open dialogs have finished closing. */
3536
get _afterAllClosed(): Subject<void> {
3637
return this._parentDialog ?
3738
this._parentDialog._afterAllClosed : this._afterAllClosedAtThisLevel;
@@ -215,4 +216,3 @@ export class MdDialog {
215216
function _applyConfigDefaults(config: MdDialogConfig): MdDialogConfig {
216217
return extendObject(new MdDialogConfig(), config);
217218
}
218-

0 commit comments

Comments
 (0)