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