UNPKG

ember-source

Version:

A JavaScript framework for creating ambitious web applications

42 lines (38 loc) 2.18 kB
export { t as template, a as templateCacheCounters } from '../../../shared-chunks/index-DaFzpTIE.js'; export { R as RootTemplate, s as setupApplicationRegistry, a as setupEngineRegistry } from '../../../shared-chunks/setup-registry-Dovj1LIQ.js'; export { I as Input, T as Textarea } from '../../../shared-chunks/textarea-B5TmhnQU.js'; export { LinkTo } from '../../routing/index.js'; export { default as Component, setComponentManager } from '../../component/index.js'; export { H as Helper, h as helper } from '../../../shared-chunks/helper--ZiOCQkd.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 { O as OutletView, R as Renderer, _ as _resetRenderers, r as renderComponent, a as renderSettled } from '../../../shared-chunks/index-C5Q8WHUG.js'; export { D as DOMChanges } from '../../../shared-chunks/render-87_sKZ_k.js'; export { D as DOMTreeConstruction } from '../../../shared-chunks/api-C0PAtEgQ.js'; import '../../../@glimmer/destroyable/index.js'; export { i as isSerializationFirstNode } from '../../../shared-chunks/rehydrate-builder-C6k1XhET.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 { 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 };