Sha256: 5e1bc43cdc1ee168c71f3e4098c61d961a2aa3eb0291ac63a6477caaba0912a6

Contents?: true

Size: 337 Bytes

Versions: 3

Compression:

Stored size: 337 Bytes

Contents

// STATE within a module is frowned upon, this exists
// to support Ember.STRINGS but shield ember internals from this legacy global
// API.
let STRINGS = {};
export function setStrings(strings) {
    STRINGS = strings;
}
export function getStrings() {
    return STRINGS;
}
export function getString(name) {
    return STRINGS[name];
}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
discourse-ember-source-3.6.0.0 dist/es/@ember/string/lib/string_registry.js
discourse-ember-source-3.5.1.1 dist/es/@ember/string/lib/string_registry.js
discourse-ember-source-3.5.1.0 dist/dist/es/@ember/string/lib/string_registry.js