Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
See parent issue for details.
Comment | File | Size | Author |
---|---|---|---|
#15 | jsdoc_color_module-2505721-15.patch | 2.77 KB | eiriksm |
#13 | jsdoc_color_module-2505721-13.patch | 2.85 KB | eiriksm |
#8 | interdiff-2505721-6-8.txt | 388 bytes | eiriksm |
#8 | jsdoc_color_module-2505721-8.patch | 2.6 KB | eiriksm |
#5 | interdiff1-5.txt | 2.06 KB | eiriksm |
Comments
Comment #1
eiriksmComment #2
nod_Missing a description on the Drupal.color namespace too.
We can even make the type more specific:
Array.<number>
.HSL or HLS? :p
maybe call them "First HSL color reference" and "Second HLS color reference"?
Those ones sounds like they could be turned better but I don't have an idea.
Missing a summary.
Of height/width of what?
Thanks again, feels good to be reviewing doc patches :D
Comment #3
nod_Patch fixes the 15 eslint jsdoc warnings.
Comment #4
eiriksmPostponing, waiting for #2505741: Remove unused Drupal.color.callback, as the comments above is related to that function and we want to remove it.
Comment #5
eiriksmComment #6
eiriksmNot postponed anymore, was a bit quick there with my conclusions :)
Comment #7
nod_For the behavior description I'd go a bit more explicit: "Displays farbtastic color selector and initialize color administration UI." (not great but a little better).
Beside that, all good.
Comment #8
eiriksmSounds better, agreed :)
Comment #9
eiriksmComment #10
nod_Fixes the 15 eslint jsdoc warnings. Happy with it.
Comment #11
jhodgdonSetting back to Needs Review... see #2504713-4: JSDoc book module
Actually.. also Drupal.color still needs to have docs added to its doc block (at least a one-line description).
The rest looks good, thanks!
Comment #12
jhodgdonComment #13
eiriksmAdded behavior doc and one small line about Drupal.color
Comment #14
nod_Hate to NW for that but @namespace should be after the one line description. There is only the @file tag that is before any description.
( edit ) and there is an extra line before the @file docblock in preview.js, that needs to be removed.
Comment #15
eiriksmAh, sorry. That was a bit sloppy.
And that new line. Wonder where that came from.
Changed the 2 things above. No interdiff since the patch is still so small.
Comment #16
nod_Nice, thanks!
Comment #17
xjmConfirmed that this resolves all the current eslint errors for the module:
This issue only changes documentation, so per https://www.drupal.org/core/beta-changes, this can be completed any time during the Drupal 8 beta phase. Committed and pushed to 8.0.x. Thanks!