0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-27 22:49:56 -05:00
ghost/core/client/helpers/count-words.js
Manuel Mitasch 47bfd046bb Add admin prototype
issue #2270

- from https://github.com/manuelmitasch/ghost-admin-ember-demo
- Not working properly: added ic-ajax mock in app.js but promise not resolving => loading route always active
2014-03-07 14:01:26 +00:00

5 lines
No EOL
148 B
JavaScript

import count from "ghost/utils/word-counter";
export default Ember.Handlebars.makeBoundHelper(function (markdown) {
return count(markdown);
});