The string interpolation function formally known as Ember.String.fmt
.
Ember.String.fmt
has been depreciated in favor of ES6 String Templates which should be used in most cases. If you construct string templates dynamically, you may find fmt
useful.
ember install ember-string-fmt
import fmt from "ember-string-fmt";
let name = "Alex";
let greeting = fmt("hi %@", name); //=> 'hi Alex'
git clone
this repositorynpm install
bower install
ember server
- Visit your app at http://localhost:4200.
npm test
(Runsember try:testall
to test your addon against multiple Ember versions)ember test
ember test --server
ember build
For more information on using ember-cli, visit http://www.ember-cli.com/.