collect_native_nodes.ts (angular-11.0.1) | : | collect_native_nodes.ts (angular-11.0.2) | ||
---|---|---|---|---|
skipping to change at line 14 | skipping to change at line 14 | |||
* | * | |||
* Use of this source code is governed by an MIT-style license that can be | * Use of this source code is governed by an MIT-style license that can be | |||
* found in the LICENSE file at https://angular.io/license | * found in the LICENSE file at https://angular.io/license | |||
*/ | */ | |||
import {assertDefined} from '../util/assert'; | import {assertDefined} from '../util/assert'; | |||
import {icuContainerIterate} from './i18n/i18n_tree_shaking'; | import {icuContainerIterate} from './i18n/i18n_tree_shaking'; | |||
import {CONTAINER_HEADER_OFFSET} from './interfaces/container'; | import {CONTAINER_HEADER_OFFSET} from './interfaces/container'; | |||
import {TElementNode, TIcuContainerNode, TNode, TNodeType} from './interfaces/no de'; | import {TElementNode, TIcuContainerNode, TNode, TNodeType} from './interfaces/no de'; | |||
import {RNode} from './interfaces/renderer'; | import {RNode} from './interfaces/renderer_dom'; | |||
import {isLContainer} from './interfaces/type_checks'; | import {isLContainer} from './interfaces/type_checks'; | |||
import {DECLARATION_COMPONENT_VIEW, LView, T_HOST, TVIEW, TView} from './interfa ces/view'; | import {DECLARATION_COMPONENT_VIEW, LView, T_HOST, TVIEW, TView} from './interfa ces/view'; | |||
import {assertTNodeType} from './node_assert'; | import {assertTNodeType} from './node_assert'; | |||
import {getLViewParent} from './util/view_traversal_utils'; | import {getLViewParent} from './util/view_traversal_utils'; | |||
import {unwrapRNode} from './util/view_utils'; | import {unwrapRNode} from './util/view_utils'; | |||
export function collectNativeNodes( | export function collectNativeNodes( | |||
tView: TView, lView: LView, tNode: TNode|null, result: any[], | tView: TView, lView: LView, tNode: TNode|null, result: any[], | |||
isProjection: boolean = false): any[] { | isProjection: boolean = false): any[] { | |||
while (tNode !== null) { | while (tNode !== null) { | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added |