Sha256: 180e96c58c6d4879b32c070fd7ae2cbd5abd0e80146d31f47cceb836c1505a42

Contents?: true

Size: 436 Bytes

Versions: 3

Compression:

Stored size: 436 Bytes

Contents

let TEMPLATES = {};
export function setTemplates(templates) {
    TEMPLATES = templates;
}
export function getTemplates() {
    return TEMPLATES;
}
export function getTemplate(name) {
    if (TEMPLATES.hasOwnProperty(name)) {
        return TEMPLATES[name];
    }
}
export function hasTemplate(name) {
    return TEMPLATES.hasOwnProperty(name);
}
export function setTemplate(name, template) {
    return (TEMPLATES[name] = template);
}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
discourse-ember-source-3.6.0.0 dist/es/@ember/-internals/glimmer/lib/template_registry.js
discourse-ember-source-3.5.1.1 dist/es/ember-glimmer/lib/template_registry.js
discourse-ember-source-3.5.1.0 dist/dist/es/ember-glimmer/lib/template_registry.js