refactor(compiler): remove AppElement.initComponent
This commit is contained in:
@ -61,7 +61,7 @@ export function bindDirectiveWrapperLifecycleCallbacks(
|
||||
DirectiveWrapperExpressions.ngOnDestroy(dir.directive, directiveWrapperIntance));
|
||||
compileElement.view.detachMethod.addStmts(DirectiveWrapperExpressions.ngOnDetach(
|
||||
dir.hostProperties, directiveWrapperIntance, o.THIS_EXPR,
|
||||
compileElement.component ? compileElement.appElement.prop('componentView') : o.THIS_EXPR,
|
||||
compileElement.compViewExpr ? compileElement.compViewExpr : o.THIS_EXPR,
|
||||
compileElement.renderNode));
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user