mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 03:32:21 +08:00
use injector instead of passing params
This commit is contained in:
@ -25,12 +25,9 @@ export class Nav extends ViewController {
|
||||
|
||||
constructor(
|
||||
@Optional() viewCtrl: ViewController,
|
||||
compiler: Compiler,
|
||||
elementRef: ElementRef,
|
||||
loader: DynamicComponentLoader,
|
||||
injector: Injector
|
||||
) {
|
||||
super(viewCtrl, compiler, elementRef, loader, injector);
|
||||
super(viewCtrl, injector);
|
||||
}
|
||||
|
||||
onInit() {
|
||||
|
Reference in New Issue
Block a user