"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "packages/core/src/render3/util/view_utils.ts" between
angular-11.0.1.tar.gz and angular-11.0.2.tar.gz

About: Angular is a development platform for building mobile and desktop web applications using Typescript/JavaScript.

view_utils.ts  (angular-11.0.1):view_utils.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, assertDomNode, assertGreaterThan, assertGreaterThanOrEqua l, assertIndexInRange, assertLessThan} from '../../util/assert'; import {assertDefined, assertDomNode, assertGreaterThan, assertGreaterThanOrEqua l, assertIndexInRange, assertLessThan} from '../../util/assert';
import {assertTNode, assertTNodeForLView} from '../assert'; import {assertTNode, assertTNodeForLView} from '../assert';
import {LContainer, TYPE} from '../interfaces/container'; import {LContainer, TYPE} from '../interfaces/container';
import {LContext, MONKEY_PATCH_KEY_NAME} from '../interfaces/context'; import {LContext, MONKEY_PATCH_KEY_NAME} from '../interfaces/context';
import {TConstants, TNode} from '../interfaces/node'; import {TConstants, TNode} from '../interfaces/node';
import {isProceduralRenderer, RNode} from '../interfaces/renderer'; import {isProceduralRenderer} from '../interfaces/renderer';
import {RNode} from '../interfaces/renderer_dom';
import {isLContainer, isLView} from '../interfaces/type_checks'; import {isLContainer, isLView} from '../interfaces/type_checks';
import {FLAGS, HEADER_OFFSET, HOST, LView, LViewFlags, PARENT, PREORDER_HOOK_FLA GS, RENDERER, TData, TRANSPLANTED_VIEWS_TO_REFRESH, TView} from '../interfaces/v iew'; import {FLAGS, HEADER_OFFSET, HOST, LView, LViewFlags, PARENT, PREORDER_HOOK_FLA GS, RENDERER, TData, TRANSPLANTED_VIEWS_TO_REFRESH, TView} from '../interfaces/v iew';
/** /**
* For efficiency reasons we often put several different data types (`RNode`, `L View`, `LContainer`) * For efficiency reasons we often put several different data types (`RNode`, `L View`, `LContainer`)
* in same location in `LView`. This is because we don't want to pre-allocate sp ace for it * in same location in `LView`. This is because we don't want to pre-allocate sp ace for it
* because the storage is sparse. This file contains utilities for dealing with such data types. * because the storage is sparse. This file contains utilities for dealing with such data types.
* *
* How do we know what is stored at a given location in `LView`. * How do we know what is stored at a given location in `LView`.
* - `Array.isArray(value) === false` => `RNode` (The normal storage value) * - `Array.isArray(value) === false` => `RNode` (The normal storage value)
 End of changes. 1 change blocks. 
1 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)