Wordpress/tests/qunit
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
..
editor TinyMCE: add wptextpattern plugin 2015-06-06 20:07:00 +00:00
fixtures Customizer: hide controls on test page 2015-06-07 09:03:03 +00:00
vendor Update QUnit to v1.18.0 2015-05-04 19:43:38 +00:00
wp-admin/js Editor: restructure word count 2015-06-19 10:34:59 +00:00
wp-includes/js TinyMCE: wptextpattern: fix issue that removes content 2015-06-18 11:33:11 +00:00
.jshintrc Various JSHint fixes. see #26446. 2014-02-08 00:51:14 +00:00
index.html Editor: restructure word count 2015-06-19 10:34:59 +00:00