"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "packages/core/test/render3/component_ref_spec.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.

component_ref_spec.ts  (angular-11.0.1):component_ref_spec.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 {Injector, NgModuleRef, ViewEncapsulation} from '../../src/core'; import {RElement} from '@angular/core/src/render3/interfaces/renderer_dom';
import {Injector, NgModuleRef, RendererType2, ViewEncapsulation} from '../../src
/core';
import {ComponentFactory} from '../../src/linker/component_factory'; import {ComponentFactory} from '../../src/linker/component_factory';
import {RendererFactory2, RendererType2} from '../../src/render/api'; import {RendererFactory2} from '../../src/render/api';
import {injectComponentFactoryResolver} from '../../src/render3/component_ref'; import {injectComponentFactoryResolver} from '../../src/render3/component_ref';
import {AttributeMarker, ɵɵdefineComponent} from '../../src/render3/index'; import {AttributeMarker, ɵɵdefineComponent} from '../../src/render3/index';
import {domRendererFactory3, RElement, Renderer3, RendererFactory3} from '../../ src/render3/interfaces/renderer'; import {domRendererFactory3, Renderer3, RendererFactory3} from '../../src/render 3/interfaces/renderer';
import {Sanitizer} from '../../src/sanitization/sanitizer'; import {Sanitizer} from '../../src/sanitization/sanitizer';
describe('ComponentFactory', () => { describe('ComponentFactory', () => {
const cfr = injectComponentFactoryResolver(); const cfr = injectComponentFactoryResolver();
describe('constructor()', () => { describe('constructor()', () => {
it('should correctly populate default properties', () => { it('should correctly populate default properties', () => {
class TestComponent { class TestComponent {
static ɵfac = () => new TestComponent(); static ɵfac = () => new TestComponent();
static ɵcmp = ɵɵdefineComponent({ static ɵcmp = ɵɵdefineComponent({
 End of changes. 3 change blocks. 
3 lines changed or deleted 5 lines changed or added

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