ember-intl
Version:
A internationalization toolbox for ambitious applications.
13 lines (10 loc) • 300 B
JavaScript
/**
* Copyright 2015, Yahoo! Inc.
* Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.
*/
import BaseHelper from './-format-base';
export default BaseHelper.extend({
format(value, options) {
return this.intl.formatMessage(value, options);
},
});