2016-06-23 09:47:54 -07:00
|
|
|
/**
|
|
|
|
|
* @license
|
|
|
|
|
* Copyright Google Inc. All Rights Reserved.
|
|
|
|
|
*
|
|
|
|
|
* 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
|
|
|
|
|
*/
|
|
|
|
|
|
2017-03-22 17:13:24 -07:00
|
|
|
import {DOCUMENT as commonDOCUMENT} from '@angular/common';
|
2017-01-03 16:54:46 -08:00
|
|
|
import {InjectionToken} from '@angular/core';
|
2015-07-24 15:28:44 -07:00
|
|
|
|
2017-06-30 13:54:08 -07:00
|
|
|
|
2015-09-28 19:58:38 -07:00
|
|
|
/**
|
|
|
|
|
* A DI Token representing the main rendering context. In a browser this is the DOM Document.
|
|
|
|
|
*
|
|
|
|
|
* Note: Document might not be available in the Application Context when Application and Rendering
|
|
|
|
|
* Contexts are not the same (e.g. when running the application into a Web Worker).
|
2016-06-27 12:27:23 -07:00
|
|
|
*
|
2017-03-22 17:13:24 -07:00
|
|
|
* @deprecated import from `@angular/common` instead.
|
2015-09-28 19:58:38 -07:00
|
|
|
*/
|
2017-06-30 13:54:08 -07:00
|
|
|
export const DOCUMENT = commonDOCUMENT;
|