mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
chore: removed deprecated APIs
This commit is contained in:
committed by
Adam Bradley
parent
a06bd69926
commit
35568ba85f
@@ -44,14 +44,6 @@ export class Modal extends ViewController {
|
||||
return this._app.present(this, navOptions, AppPortal.MODAL);
|
||||
}
|
||||
|
||||
/**
|
||||
* @private
|
||||
* DEPRECATED: Please inject ModalController instead
|
||||
*/
|
||||
static create(cmp: any, opt: any) {
|
||||
// deprecated warning: added beta.11 2016-06-27
|
||||
console.warn('Modal.create(..) has been deprecated. Please inject ModalController instead');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user