Convert "Reviewable" model and view classes to ES6.
Review Request #8556 — Created Nov. 29, 2016 and submitted
This is a pretty straightforward transformation of all the remaining
reviewables. The transformations in here are pretty straightforward: fixing up
documentation comments, making use of some additional syntactic sugar,
switchingvar
forlet
/const
, etc.
Ran js-tests.
- Commit:
-
f16576f460e4457b23332a8f27cd07e99dc905ee6188e66a38393689316de65700a52703fa1e107a
- Diff:
-
Revision 2 (+366 -296)
-
Tool: PEP8 Style Checker Processed Files: reviewboard/staticbundles.py Ignored Files: reviewboard/static/rb/js/views/abstractReviewableView.es6.js reviewboard/static/rb/js/views/markdownReviewableView.es6.js reviewboard/static/rb/js/diffviewer/models/diffReviewableModel.es6.js reviewboard/static/rb/js/views/fileAttachmentReviewableView.es6.js reviewboard/static/rb/js/models/abstractReviewableModel.es6.js reviewboard/static/rb/js/models/fileAttachmentReviewableModel.es6.js reviewboard/static/rb/js/models/dummyReviewableModel.es6.js reviewboard/static/rb/js/models/screenshotReviewableModel.es6.js reviewboard/static/rb/js/views/dummyReviewableView.es6.js reviewboard/static/rb/js/models/textBasedReviewableModel.es6.js reviewboard/static/rb/js/models/fileAttachmentReviewableModel.js reviewboard/static/rb/js/views/textBasedReviewableView.es6.js Tool: Pyflakes Processed Files: reviewboard/staticbundles.py Ignored Files: reviewboard/static/rb/js/views/abstractReviewableView.es6.js reviewboard/static/rb/js/views/markdownReviewableView.es6.js reviewboard/static/rb/js/diffviewer/models/diffReviewableModel.es6.js reviewboard/static/rb/js/views/fileAttachmentReviewableView.es6.js reviewboard/static/rb/js/models/abstractReviewableModel.es6.js reviewboard/static/rb/js/models/fileAttachmentReviewableModel.es6.js reviewboard/static/rb/js/models/dummyReviewableModel.es6.js reviewboard/static/rb/js/models/screenshotReviewableModel.es6.js reviewboard/static/rb/js/views/dummyReviewableView.es6.js reviewboard/static/rb/js/models/textBasedReviewableModel.es6.js reviewboard/static/rb/js/models/fileAttachmentReviewableModel.js reviewboard/static/rb/js/views/textBasedReviewableView.es6.js