[wp-trac] [WordPress Trac] #42955: Add documentation for js/media/views/attachments.js

WordPress Trac noreply at wordpress.org
Fri Dec 22 09:48:08 UTC 2017


#42955: Add documentation for js/media/views/attachments.js
-----------------------------------------+-------------------------------
 Reporter:  ireneyoast                   |       Owner:  atimmer
     Type:  defect (bug)                 |      Status:  assigned
 Priority:  normal                       |   Milestone:  5.0
Component:  Media                        |     Version:  trunk
 Severity:  normal                       |  Resolution:
 Keywords:  has-patch reporter-feedback  |     Focuses:  javascript, docs
-----------------------------------------+-------------------------------

Comment (by atimmer):

 I've made some changes to the actual commit that are necessary for the
 JSDoc parser to be able to parse the documentation correctly. In this
 specific commit, if there is both documentation on the constructor
 (initialize with `@constructs`) and the class (`@class`) the end result is
 duplicated documentation.

 Like @ireneyoast I have removed all the `@summary` tags from the previous
 patch. And fixed the line length. I can ask @ireneyoast to merge `master`
 into her branch on GitHub to verify that these differences are all there
 is. But I am fairly confident that what is on `trunk` now is correct.

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


More information about the wp-trac mailing list