8 lines
364 B
JavaScript
8 lines
364 B
JavaScript
// Please note that Handlebars helpers will only be found automatically by the
|
|
// resolver if their name contains a dash (reverse-word, translate-text, etc.)
|
|
// For more details: http://stefanpenner.github.io/ember-app-kit/guides/using-modules.html
|
|
|
|
export default Ember.Handlebars.makeBoundHelper(function(word) {
|
|
return word.split('').reverse().join('');
|
|
});
|
|
|