• 
      

    Convert the view and model for the diff viewer page to ES6.

    Review Request #9152 — Created Aug. 25, 2017 and submitted — Latest diff uploaded

    Information

    Review Board
    release-3.0.x
    0acc7cb...

    Reviewers

    This updates the diff viewer page's view and model to ES6 and fixes up
    the docs for our modern standards. The logic for these classes remains
    the same, but the code has been streamlined by the usage of template
    literals, consts/lets, and fat arrow functions.

    Upcoming work will build upon this to simplify the view further.

    Unit tests pass.

    Tested all functionality of the diff viewer (revision selection,
    interdiffs, pagination, anchor navigation, commenting) to ensure
    nothing broke.