UNPKG

ember-source

Version:

A JavaScript framework for creating ambitious web applications

13 lines (11 loc) • 524 B
/** * Classes Glimmer constructs itself declare this slot, so that * `@glimmer/destroyable` can hold their meta directly rather than in its * `WeakMap`. It lives here so packages below `@glimmer/destroyable` can declare * the slot without depending on it. * * Never write this onto an object Glimmer did not construct. Destroyables are * public through `@ember/destroyable` and can be any object a user hands in. */ const DESTROYABLE_META_KEY = Symbol('__destroyable_meta__'); export { DESTROYABLE_META_KEY as D };