mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-13 22:41:32 -05:00
3296a3a41c
no issue - this ports over screens from old admin to allow people to begin working on aspects of the screen - All logged out screens have been imported: Signup, Signin, Forgotten password, reset password - Those screens are now ready for behavior to be ported over - This also updates templates to be more in line with how they were in the old admin - Littered through the code are @TODO comments of functionality that is missing and will need to be resolved before this is production ready - Also scaffolds out the settings screen and every tab
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; |