• 
      

    Improve the JavaScript extensions docs.

    Review Request #13018 — Created May 9, 2023 and submitted

    Information

    Review Board
    release-6.x

    Reviewers

    This improves the JavaScript extensions docs, mostly by modernizing the
    JavaScript code in the examples and fixing up some typos.

    Built the docs.

    Summary ID
    Improve the JavaScript extensions docs.
    e043fe58c0f46653fc56a23d762e083879d34e6e
    Description From Last Updated

    To keep this is internal to the module, we'll want to use const here. This applies to the other examples …

    chipx86chipx86

    These won't be modified, so we should use const. Also, to comply with our modern JavaScript styling, we should have …

    chipx86chipx86

    The old wording was incorrect. This isn't related to the Comment Dialog, but rather comment fields within the Review Dialog.

    chipx86chipx86

    Same note as above.

    chipx86chipx86
    chipx86
    1. Thanks for modernizing this!

    2. Show all issues

      To keep this is internal to the module, we'll want to use const here.

      This applies to the other examples as well.

    3. Show all issues

      These won't be modified, so we should use const. Also, to comply with our modern JavaScript styling, we should have one const/let per variable.

    4. Show all issues

      The old wording was incorrect. This isn't related to the Comment Dialog, but rather comment fields within the Review Dialog.

    5. Show all issues

      Same note as above.

    6. 
        
    maubin
    david
    1. Ship It!
    2. 
        
    maubin
    Review request changed
    Status:
    Completed
    Change Summary:
    Pushed to release-6.x (fc234a2)