Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
import TranslationModel from 'ember-intl/models/translation';
export default TranslationModel.extend({
getValue(key) {
return this.translations[key];
}
});
import TranslationModel from 'ember-intl/models/translation';
export default TranslationModel.extend({
addTranslation(key, value) {
this.translations[key] = value;
},
getValue(key) {
return this.translations[key];
}
});