refactor(ivy): misc refactoring (#22001)

PR Close #22001
This commit is contained in:
Victor Berchet
2018-02-02 14:59:31 -08:00
committed by Alex Rickabaugh
parent 5a624fa1be
commit 5df626bbe1
3 changed files with 39 additions and 34 deletions

View File

@ -9,8 +9,7 @@
import {LContainerNode, LElementNode, LTextNode} from './node';
/**
* An LProjection is a pointer to the first and the last projected nodes.
* It is a linked list (using the pNextOrParent property).
* Linked list of projected nodes (using the pNextOrParent property).
*/
export interface LProjection {
head: LElementNode|LTextNode|LContainerNode|null;

View File

@ -18,7 +18,7 @@ import {Renderer3} from './renderer';
* they are invoked from the template. Each embedded view and component view has its
* own `LView`. When processing a particular view, we set the `currentView` to that
* `LView`. When that view is done processing, the `currentView` is set back to
* whatever the original `currentView` was before(the parent `LView`).
* whatever the original `currentView` was before (the parent `LView`).
*
* Keeping separate state for each view facilities view insertion / deletion, so we
* don't have to edit the data array based on which views are present.