node_manipulation_i18n.ts (angular-11.0.1) | : | node_manipulation_i18n.ts (angular-11.0.2) | ||
---|---|---|---|---|
/** | /** | |||
* @license | * @license | |||
* Copyright Google LLC All Rights Reserved. | * Copyright Google LLC All Rights Reserved. | |||
* | * | |||
* 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 {assertDomNode, assertIndexInRange} from '../util/assert'; | import {assertDomNode, assertIndexInRange} from '../util/assert'; | |||
import {TNode, TNodeFlags, TNodeType} from './interfaces/node'; | import {TNode, TNodeFlags, TNodeType} from './interfaces/node'; | |||
import {RElement, Renderer3, RNode} from './interfaces/renderer'; | import {Renderer3} from './interfaces/renderer'; | |||
import {RElement, RNode} from './interfaces/renderer_dom'; | ||||
import {LView} from './interfaces/view'; | import {LView} from './interfaces/view'; | |||
import {getInsertInFrontOfRNodeWithNoI18n, nativeInsertBefore} from './node_mani pulation'; | import {getInsertInFrontOfRNodeWithNoI18n, nativeInsertBefore} from './node_mani pulation'; | |||
import {unwrapRNode} from './util/view_utils'; | import {unwrapRNode} from './util/view_utils'; | |||
/** | /** | |||
* Find a node in front of which `currentTNode` should be inserted (takes i18n i nto account). | * Find a node in front of which `currentTNode` should be inserted (takes i18n i nto account). | |||
* | * | |||
* This method determines the `RNode` in front of which we should insert the `cu rrentRNode`. This | * This method determines the `RNode` in front of which we should insert the `cu rrentRNode`. This | |||
* takes `TNode.insertBeforeIndex` into account. | * takes `TNode.insertBeforeIndex` into account. | |||
* | * | |||
End of changes. 2 change blocks. | ||||
1 lines changed or deleted | 3 lines changed or added |