refactor: move DOCUMENT imports from platform-browser to common (#29237)

PR Close #29237
This commit is contained in:
Adam Plumer
2019-03-11 19:20:40 -05:00
committed by Matias Niemelä
parent 6ab8c0b371
commit 7b70760c8d
31 changed files with 52 additions and 54 deletions

View File

@ -6,12 +6,12 @@
* found in the LICENSE file at https://angular.io/license
*/
import {APP_BASE_HREF, Location, ViewportScroller} from '@angular/common';
import {APP_BASE_HREF, DOCUMENT, Location} from '@angular/common';
import {ApplicationRef, CUSTOM_ELEMENTS_SCHEMA, Component, NgModule, destroyPlatform} from '@angular/core';
import {inject} from '@angular/core/testing';
import {BrowserModule, DOCUMENT, ɵgetDOM as getDOM} from '@angular/platform-browser';
import {BrowserModule, ɵgetDOM as getDOM} from '@angular/platform-browser';
import {platformBrowserDynamic} from '@angular/platform-browser-dynamic';
import {NavigationEnd, NavigationStart, Resolve, Router, RouterModule} from '@angular/router';
import {NavigationEnd, Resolve, Router, RouterModule} from '@angular/router';
import {filter, first} from 'rxjs/operators';
describe('bootstrap', () => {