[wp-trac] [WordPress Trac] #41111: WP-API JS Client: Add a helper to get model or collection by route

WordPress Trac noreply at wordpress.org
Fri Aug 18 14:57:38 UTC 2017


#41111: WP-API JS Client: Add a helper to get model or collection by route
-------------------------------------------------+-------------------------
 Reporter:  adamsilverstein                      |       Owner:
     Type:  enhancement                          |  adamsilverstein
 Priority:  normal                               |      Status:  assigned
Component:  REST API                             |   Milestone:  4.9
 Severity:  normal                               |     Version:  4.7
 Keywords:  good-first-bug has-patch has-unit-   |  Resolution:
  tests commit                                   |     Focuses:  javascript
-------------------------------------------------+-------------------------

Comment (by adamsilverstein):

 [attachment:41111.3.diff]
 * remove some trailing commas to make jshint happy

 Question: do we still need these tests if we no longer support older
 versions of IE?

 [[Image(https://cl.ly/0T0I2W2m2m1W/Image%202017-08-18%20at%2010.55.57%20AM.png)]]

 cc: @netweb ^^

--
Ticket URL: <https://core.trac.wordpress.org/ticket/41111#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list