Skip to content

Commit

Permalink
docs(dialog): fix misleading code comment (#3894)
Browse files Browse the repository at this point in the history
  • Loading branch information
johanb authored and jelbourn committed Apr 5, 2017
1 parent c486cf8 commit bc074a1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/lib/dialog/dialog.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,12 @@ export class MdDialog {
return this._parentDialog ? this._parentDialog._openDialogs : this._openDialogsAtThisLevel;
}

/** Subject for notifying the user that all open dialogs have finished closing. */
/** Subject for notifying the user that a dialog has opened. */
get _afterOpen(): Subject<MdDialogRef<any>> {
return this._parentDialog ? this._parentDialog._afterOpen : this._afterOpenAtThisLevel;
}
/** Subject for notifying the user that a dialog has opened. */

/** Subject for notifying the user that all open dialogs have finished closing. */
get _afterAllClosed(): Subject<void> {
return this._parentDialog ?
this._parentDialog._afterAllClosed : this._afterAllClosedAtThisLevel;
Expand Down Expand Up @@ -215,4 +216,3 @@ export class MdDialog {
function _applyConfigDefaults(config: MdDialogConfig): MdDialogConfig {
return extendObject(new MdDialogConfig(), config);
}

0 comments on commit bc074a1

Please sign in to comment.