mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-14 18:52:05 +03:00
a47980149f
GH-ISSUE 2373
7 lines
182 B
JavaScript
7 lines
182 B
JavaScript
import count from 'ghost/utils/word-count';
|
|
|
|
var countWords = Ember.Handlebars.makeBoundHelper(function (markdown) {
|
|
return count(markdown || '');
|
|
});
|
|
|
|
export default countWords; |