ember-source
Version:
A JavaScript framework for creating ambitious web applications
41 lines (37 loc) • 2.14 kB
JavaScript
export { t as template, a as templateCacheCounters } from '../../../shared-chunks/index-Bj71BDDA.js';
export { R as RootTemplate, s as setupApplicationRegistry, a as setupEngineRegistry } from '../../../shared-chunks/setup-registry-B3DhqtxX.js';
export { I as Input, T as Textarea } from '../../../shared-chunks/textarea-Byj32raR.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-CN6UzshW.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, a as renderComponent, r as renderSettled } from '../../../shared-chunks/index-ClxHbCe9.js';
export { D as DOMChanges } from '../../../shared-chunks/render-DkJJmoI4.js';
export { D as DOMTreeConstruction } from '../../../shared-chunks/element-builder-CnlTPNyw.js';
export { i as isSerializationFirstNode } from '../../../shared-chunks/rehydrate-builder-DJ8k-6fg.js';
export { NodeDOMTreeConstruction } from '../../../@glimmer/node/index.js';
export { e as element } from '../../../shared-chunks/element-9DRa_9dO.js';
export { u as uniqueId } from '../../../shared-chunks/unique-id-CfHImDRV.js';
export { c as componentCapabilities, m as modifierCapabilities } from '../../../shared-chunks/api-CM1trl_4.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 };