Update RB.DiffReviewableView to modern standards
Review Request #10194 — Created Oct. 4, 2018 and submitted
This patch updates
RB.DiffReviewableView
and its unit tests to use
ES6 features and our documentation standards. Although the
RB.DiffReviewableView
was written in an ES6 file, it was still using
var
everywhere overlet
andconst
. It was also wrapped in a
superfluous IIFE.
Ran JS tests.
Description | From | Last Updated |
---|---|---|
Typo in description: Althought |
david | |
Indentation is funky here. |
david | |
This could be: $children.first().toggleClass('first'); $children.last().toggleClass('last'); |
david | |
Extra blank line. |
chipx86 | |
Can we keep one param per line here? Just nicer to read it that way. |
chipx86 | |
Missing docs. |
chipx86 | |
Missing Args. |
chipx86 | |
"Handle" |
chipx86 | |
This does not English good. |
chipx86 | |
Missing a blank line here. |
chipx86 |
- Change Summary:
-
Addressed feedback.
- Description:
-
This patch updates
RB.DiffReviewableView
and its unit tests to use~ ES6 features and our documentation standards. Althought the ~ ES6 features and our documentation standards. Although the RB.DiffReviewableView
was written in an ES6 file, it was still usingvar
everywhere overlet
andconst
. It was also wrapped in asuperfluous IIFE. - Commit:
-
6e6847a8480e74f85d2fce3903fa88312b0b41ffe715ff66375607e37350594615b0c18177f7b258