mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-06 22:40:14 -05:00
a47980149f
GH-ISSUE 2373
7 lines
No EOL
182 B
JavaScript
7 lines
No EOL
182 B
JavaScript
import count from 'ghost/utils/word-count';
|
|
|
|
var countWords = Ember.Handlebars.makeBoundHelper(function (markdown) {
|
|
return count(markdown || '');
|
|
});
|
|
|
|
export default countWords; |