Wordpress/tests/qunit
Sergey Biryukov 44c58d1a12 REST API: JavaScript client - improve route discovery for custom namespaces.
Fix parsing of custom namespace routes. Transform class names, removing dashes and capitalizing each word/route part so a route path of `widgets/recent-posts` becomes a collection with the name `WidgetsRecentPosts`. Correct parent route part when routes are longer than expected, reversing parse direction.

Props westonruter, jazbek, adamsilverstein, jnylen0.
Merges [40074] and [40109] to the 4.7 branch.
Fixes #39561.

git-svn-id: https://develop.svn.wordpress.org/branches/4.7@40117 602fd350-edb4-49c9-b593-d223f7449a82
2017-02-24 22:47:47 +00:00
..
editor TiinyMCE: update to 4.4.3, changelog: https://www.tinymce.com/docs/changelog/#version443-september12016 2016-10-11 00:09:03 +00:00
fixtures REST API: JavaScript client - improve route discovery for custom namespaces. 2017-02-24 22:47:47 +00:00
vendor Customizer: Add QUnit tests for menus. 2015-08-03 19:27:27 +00:00
wp-admin/js Customize: Ensure that qunit test enters in expected state and tests `wp.customize.dirtyValues` in starter content context. 2016-10-28 03:28:07 +00:00
wp-includes/js REST API: JavaScript client - improve route discovery for custom namespaces. 2017-02-24 22:47:47 +00:00
.jshintrc Various JSHint fixes. see #26446. 2014-02-08 00:51:14 +00:00
index.html REST API: JavaScript client - improve route discovery for custom namespaces. 2017-02-24 22:47:47 +00:00