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