UNPKG

ember-source

Version:

A JavaScript framework for creating ambitious web applications

43 lines (39 loc) 2.2 kB
import '../../../shared-chunks/fragment-Cc5k9Oy4.js'; import '../../../shared-chunks/debug-to-string-CFb7h0lY.js'; import '../../../@glimmer/global-context/index.js'; import '../../../@glimmer/validator/index.js'; import '../../../shared-chunks/reference-C3TKDRnP.js'; export { t as template, a as templateCacheCounters } from '../../../shared-chunks/index-Q7JnrdBn.js'; import '../../../@glimmer/destroyable/index.js'; import '../../../shared-chunks/capabilities-O_xc7Yqk.js'; export { componentCapabilities, modifierCapabilities } from '../../../@glimmer/manager/index.js'; export { C as Component, H as Helper, I as Input, L as LinkTo, O as OutletView, b as Renderer, R as RootTemplate, S as SafeString, T as Textarea, c as TrustedHTML, _ as _resetRenderers, h as helper, d as htmlSafe, i as isHTMLSafe, e as isTrustedHTML, f as renderComponent, r as renderSettled, t as trustHTML, u as uniqueId } from '../../../shared-chunks/index-PxU6E7q8.js'; export { s as setupApplicationRegistry, a as setupEngineRegistry } from '../../../shared-chunks/setup-registry-DGdDOxrk.js'; export { D as DOMChanges } from '../../../shared-chunks/dynamic-CFg3dljk.js'; import '../../../shared-chunks/constants-eoaL3OJQ.js'; export { i as isSerializationFirstNode } from '../../../shared-chunks/rehydrate-builder-DPImr9e9.js'; export { NodeDOMTreeConstruction } from '../../../@glimmer/node/index.js'; export { setComponentManager } from '../../component/index.js'; export { D as DOMTreeConstruction } from '../../../shared-chunks/element-builder-BOxP8emt.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 };