UNPKG

ember-source

Version:

A JavaScript framework for creating ambitious web applications

42 lines (38 loc) • 2.16 kB
export { t as template, a as templateCacheCounters } from '../../../shared-chunks/index-BYUSIu_W.js'; export { O as OutletView, R as Renderer, a as RootTemplate, s as setupApplicationRegistry, b as setupEngineRegistry } from '../../../shared-chunks/setup-registry-C3c68aLH.js'; export { I as Input, T as Textarea } from '../../../shared-chunks/textarea-B688G6oU.js'; export { LinkTo } from '../../routing/index.js'; export { default as Component, setComponentManager } from '../../component/index.js'; export { default as Helper, helper } from '../../component/helper.js'; export { S as SafeString, T as TrustedHTML, h as htmlSafe, i as isHTMLSafe, a as isTrustedHTML, t as trustHTML } from '../../../shared-chunks/index-D-xTBV4B.js'; export { D as DOMChanges } from '../../../shared-chunks/render-C05-JDIS.js'; export { D as DOMTreeConstruction } from '../../../shared-chunks/api-Dz70AUL_.js'; import '../../../@glimmer/destroyable/index.js'; export { i as isSerializationFirstNode } from '../../../shared-chunks/rehydrate-builder-CsnkZkur.js'; export { NodeDOMTreeConstruction } from '../../../@glimmer/node/index.js'; export { e as element } from '../../../shared-chunks/element-Cgoi4ldD.js'; export { u as uniqueId } from '../../../shared-chunks/unique-id-Csxuh1I7.js'; export { _ as _resetRenderers, r as renderComponent, a as renderSettled } from '../../../shared-chunks/index-DwW0mYFS.js'; export { c as componentCapabilities, m as modifierCapabilities } from '../../../shared-chunks/api-BlZDPg1n.js'; // STATE within a module is frowned upon, this exists // to support Ember.TEMPLATES but shield ember internals from this legacy // global API. let TEMPLATES = {}; function setTemplates(templates) { TEMPLATES = templates; } function getTemplates() { return TEMPLATES; } function getTemplate(name) { if (Object.prototype.hasOwnProperty.call(TEMPLATES, name)) { return TEMPLATES[name]; } } function hasTemplate(name) { return Object.prototype.hasOwnProperty.call(TEMPLATES, name); } function setTemplate(name, template) { return TEMPLATES[name] = template; } export { getTemplate, getTemplates, hasTemplate, setTemplate, setTemplates };