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.
I noticed this as I was working on #152431: collapsible fieldset problems with #prefix, #suffix, markup rendering, collapse.js has a bunch of coding style problems, mostly just comments without a period at t he end, but also a } else {
block on a single line which needed to be spaced out. This patch fixes all the coding style problems I spotted.
Comment | File | Size | Author |
---|---|---|---|
#4 | 572872-03.patch | 2.12 KB | cwgordon7 |
#2 | 572872-02.patch | 2.02 KB | cwgordon7 |
#1 | 572872-01.patch | 1.77 KB | cwgordon7 |
Comments
Comment #1
cwgordon7 CreditAttribution: cwgordon7 commentedSorry, forgot the patch.
Comment #2
cwgordon7 CreditAttribution: cwgordon7 commentedMissed one, sorry!
Comment #3
c960657 CreditAttribution: c960657 commentedYou may also want to reformat the "// Turn the legend ..." comment so that it wraps at max. 80 characters.
Comment #4
cwgordon7 CreditAttribution: cwgordon7 commentedDone, thanks.
Comment #5
c960657 CreditAttribution: c960657 commentedLooks good.
Comment #6
webchickCommitted to HEAD. Thanks!