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
|
|
|
|
*/
|
|
|
|
|
2016-04-28 17:50:03 -07:00
|
|
|
import {OpaqueToken} from '@angular/core';
|
2015-07-24 15:28:44 -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-05-20 16:11:49 -07:00
|
|
|
export const DOCUMENT: OpaqueToken = new OpaqueToken('DocumentToken');
|