mirror of
https://github.com/flarum/framework.git
synced 2024-12-02 15:03:44 +08:00
7 lines
219 B
JavaScript
7 lines
219 B
JavaScript
import Ember from 'ember';
|
|
|
|
export default Ember.Handlebars.makeBoundHelper(function(icon, options) {
|
|
return new Ember.Handlebars.SafeString('<i class="fa fa-fw fa-'+icon+' '+(options.hash.class || '')+'"></i>');
|
|
});
|
|
|