RendererV2 -> Renderer2 rename (#14998)

* refactor: rename `RendererV2` into `Renderer2`

BREAKING CHANGE (since 4.0 rc.1):
- rename `RendererV2` to `Renderer2`
- rename `RendererTypeV2` to `RendererType2`
- rename `RendererFactoryV2` to `RendererFactory2`
This commit is contained in:
Tobias Bosch
2017-03-07 16:36:12 -08:00
committed by Chuck Jazdzewski
parent 5df998d086
commit ad3b44aef7
40 changed files with 230 additions and 235 deletions

View File

@ -6,8 +6,8 @@
* found in the LICENSE file at https://angular.io/license
*/
import {AUTO_STYLE, AnimationEvent, animate, keyframes, state, style, transition, trigger} from '@angular/animations';
import {Component, HostBinding, HostListener, RendererFactoryV2, ViewChild} from '@angular/core';
import {ɵDomRendererFactoryV2} from '@angular/platform-browser';
import {Component, HostBinding, HostListener, RendererFactory2, ViewChild} from '@angular/core';
import {ɵDomRendererFactory2} from '@angular/platform-browser';
import {AnimationDriver, BrowserAnimationsModule, ɵAnimationEngine} from '@angular/platform-browser/animations';
import {MockAnimationDriver, MockAnimationPlayer} from '@angular/platform-browser/animations/testing';
import {getDOM} from '@angular/platform-browser/src/dom/dom_adapter';
@ -555,7 +555,7 @@ export function main() {
describe('errors for not using the animation module', () => {
beforeEach(() => {
TestBed.configureTestingModule({
providers: [{provide: RendererFactoryV2, useExisting: ɵDomRendererFactoryV2}],
providers: [{provide: RendererFactory2, useExisting: ɵDomRendererFactory2}],
});
});