Skip to content

Commit

Permalink
chore(viewcontroller): change onDismiss to private
Browse files Browse the repository at this point in the history
  • Loading branch information
adamdbradley committed Jun 30, 2016
1 parent ec99bfd commit 3b1d3b9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/nav/view-controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,9 @@ export class ViewController {

/**
* @private
* onDismiss(..) has been deprecated. Please use onDidDismiss(..) instead
*/
onDismiss(callback: Function) {
private onDismiss(callback: Function) {
// deprecated warning: added beta.11 2016-06-30
console.warn('onDismiss(..) has been deprecated. Please use onDidDismiss(..) instead');
this.onDidDismiss(callback);
Expand Down

0 comments on commit 3b1d3b9

Please sign in to comment.