Sha256: 5953a5eaf9b911e2f5d62b276e0426412788f1454b4419c9bbefbd252fae9f9d
Contents?: true
Size: 765 Bytes
Versions: 1
Compression:
Stored size: 765 Bytes
Contents
/** @module @ember/engine */ import { symbol } from '@ember/-internals/utils'; const ENGINE_PARENT = symbol('ENGINE_PARENT'); /** `getEngineParent` retrieves an engine instance's parent instance. @method getEngineParent @param {EngineInstance} engine An engine instance. @return {EngineInstance} The parent engine instance. @for @ember/engine @static @private */ export function getEngineParent(engine) { return engine[ENGINE_PARENT]; } /** `setEngineParent` sets an engine instance's parent instance. @method setEngineParent @param {EngineInstance} engine An engine instance. @param {EngineInstance} parent The parent engine instance. @private */ export function setEngineParent(engine, parent) { engine[ENGINE_PARENT] = parent; }
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
discourse-ember-source-3.6.0.0 | dist/es/@ember/engine/lib/engine-parent.js |