ember-source
Version:
A JavaScript framework for creating ambitious web applications
40 lines (36 loc) • 2.03 kB
JavaScript
import '../../../shared-chunks/fragment-EpVz5Xuc.js';
import '../../../@glimmer/validator/index.js';
import '../../../shared-chunks/reference-BNqcwZWH.js';
export { t as template, a as templateCacheCounters } from '../../../shared-chunks/index-CSVCFS_p.js';
import '../../../shared-chunks/capabilities-DGmQ_mz4.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-DZLHQAlb.js';
export { s as setupApplicationRegistry, a as setupEngineRegistry } from '../../../shared-chunks/setup-registry-CMNYh2jY.js';
export { D as DOMChanges } from '../../../shared-chunks/on-CrTl7JQU.js';
import '../../../shared-chunks/constants-b-2IVErl.js';
export { i as isSerializationFirstNode } from '../../../shared-chunks/rehydrate-builder-CSn1aIO1.js';
export { NodeDOMTreeConstruction } from '../../../@glimmer/node/index.js';
export { setComponentManager } from '../../component/index.js';
export { D as DOMTreeConstruction } from '../../../shared-chunks/element-builder-CiLTrXD6.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 };