mirror of
https://github.com/flarum/core.git
synced 2025-08-07 08:56:38 +02:00
Hello world!
This commit is contained in:
6
ember/app/helpers/fa-icon.js
Normal file
6
ember/app/helpers/fa-icon.js
Normal file
@@ -0,0 +1,6 @@
|
||||
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>');
|
||||
});
|
||||
|
Reference in New Issue
Block a user