Wordpress/tests/qunit/wp-admin/js
Ella Iseulde Van Dorpe fa5ec5077b Editor: restructure word count
* The WordCounter should only do one thing: count words. This makes it also easier to test.
* Add some really basic unit tests.
* Instead of only refreshing the count on enter and delete, refresh the count when the user stops typing. Also look at paste and content changes in TinyMCE.
* Use `match` instead of `replace` when it is appropriate.
* More readable code.

See #30966. Fixes #26620.



git-svn-id: https://develop.svn.wordpress.org/trunk@32856 602fd350-edb4-49c9-b593-d223f7449a82
2015-06-19 10:34:59 +00:00
..
customize-base.js Customizer: Move private helper functions to `wp.customize.utils` so they can be unit tested. 2014-12-02 22:55:48 +00:00
customize-controls-utils.js Customizer: Move private helper functions to `wp.customize.utils` so they can be unit tested. 2014-12-02 22:55:48 +00:00
customize-controls.js Customizer: Improve JS templates for Panels and Sections added in [32658]. 2015-06-01 22:46:56 +00:00
customize-header.js Customizer: Allow to skip cropping header images if image width is smaller than or equal to theme width. 2014-04-25 20:24:28 +00:00
password-strength-meter.js Use only one var per scope in our password-strength-meter tests. 2013-11-07 20:40:12 +00:00
word-count.js Editor: restructure word count 2015-06-19 10:34:59 +00:00