refactor(ivy): rename flushHooksUpTo to select (#29527)

PR Close #29527
This commit is contained in:
Ben Lesh
2019-03-26 13:01:29 -07:00
committed by Miško Hevery
parent a28b3e3359
commit a2f8f5595f
14 changed files with 128 additions and 128 deletions

View File

@ -1097,7 +1097,7 @@ export function elementEnd(): void {
*
* @param index The index of the element in the `LView`
*/
export function flushHooksUpTo(index: number): void {
export function select(index: number): void {
const lView = getLView();
executePreOrderHooks(lView, lView[TVIEW], getCheckNoChangesMode(), index);
}
@ -3110,4 +3110,4 @@ function handleError(lView: LView, error: any): void {
const injector = lView[INJECTOR];
const errorHandler = injector ? injector.get(ErrorHandler, null) : null;
errorHandler && errorHandler.handleError(error);
}
}