2018-06-06 11:23:38 -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
|
|
|
|
|
*/
|
|
|
|
|
|
2018-08-29 16:34:44 -07:00
|
|
|
import {getClosureSafeProperty} from '../util/property';
|
2018-06-06 11:23:38 -07:00
|
|
|
|
2019-10-10 14:57:15 -07:00
|
|
|
export const NG_COMP_DEF = getClosureSafeProperty({ɵcmp: getClosureSafeProperty});
|
2019-10-11 12:28:12 -07:00
|
|
|
export const NG_DIR_DEF = getClosureSafeProperty({ɵdir: getClosureSafeProperty});
|
2019-10-11 19:19:59 -07:00
|
|
|
export const NG_PIPE_DEF = getClosureSafeProperty({ɵpipe: getClosureSafeProperty});
|
2019-10-14 07:20:26 -07:00
|
|
|
export const NG_MOD_DEF = getClosureSafeProperty({ɵmod: getClosureSafeProperty});
|
2019-10-14 11:39:44 -07:00
|
|
|
export const NG_LOC_ID_DEF = getClosureSafeProperty({ɵloc: getClosureSafeProperty});
|
2019-10-11 14:18:45 -07:00
|
|
|
export const NG_FACTORY_DEF = getClosureSafeProperty({ɵfac: getClosureSafeProperty});
|
2018-09-21 18:38:13 -07:00
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* If a directive is diPublic, bloomAdd sets a property on the type with this constant as
|
|
|
|
|
* the key and the directive's unique ID as the value. This allows us to map directives to their
|
|
|
|
|
* bloom filter bit for DI.
|
|
|
|
|
*/
|
2019-01-10 23:45:02 -08:00
|
|
|
// TODO(misko): This is wrong. The NG_ELEMENT_ID should never be minified.
|
2018-09-21 18:38:13 -07:00
|
|
|
export const NG_ELEMENT_ID = getClosureSafeProperty({__NG_ELEMENT_ID__: getClosureSafeProperty});
|