flake8
JSHint
-
Warning: Showing 30 of 33 failures.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Review Request #9037 — Created June 26, 2017 and submitted
This change introduces a handful of new JavaScript models for
representing data going into the review request entry boxes (change
descriptions, initial status updates, and reviews). These store the
ReviewRequestEditor
used, data on review(s) (for the review box and
status updates), and data on the diff comments (used to load diff
fragments).The templates for these entries no longer need to call JavaScript
methods, beyond adding the boxes and models. The data is all
self-contained. This will later allow for more easily reloading data for
entries without reloading the entire page.The new models live in a
js/reviewRequestPage/
directory. We'll be able
to move other models/views specific to the review request page here
later on, helping keep things organized.
Unit tests passed.
Tested loading diff comments for reviews (in all boxes) and replying to
them.
Description | From | Last Updated |
---|---|---|
Missing the return type. |
david | |
Trailing comma. |
david | |
Missing the return type. |
david | |
Trailing comma. |
david | |
Missing the return type. |
david | |
This would be quite a bit nicer as: reviews = reviewsData.map( reviewData => reviewRequest.createReview( reviewData.id, _.pick(reviewData, 'bodyBottom', 'bodyTop', 'public', 'shipIt'))); |
david | |
Trailing comma. |
david | |
Trailing comma. |
david | |
Trailing comma. |
david | |
Trailing comma. |
david | |
diffCommentsData.forEach(diffCommentData => page.queueLoadDiff(diffCommentData[0], diffCommentData[1])); |
david | |
E501 line too long (97 > 79 characters) |
reviewbot | |
E501 line too long (91 > 79 characters) |
reviewbot | |
E501 line too long (97 > 79 characters) |
reviewbot | |
E501 line too long (104 > 79 characters) |
reviewbot | |
E501 line too long (80 > 79 characters) |
reviewbot | |
E501 line too long (86 > 79 characters) |
reviewbot | |
E501 line too long (93 > 79 characters) |
reviewbot | |
E501 line too long (86 > 79 characters) |
reviewbot | |
Col: 2 Expected '}' to match '{' from line 5 and instead saw '%'. |
reviewbot | |
Col: 5 Expected ']' to match '[' from line 4 and instead saw 'for'. |
reviewbot | |
Col: 9 Expected '}' to match '{' from line 3 and instead saw 'comment'. |
reviewbot | |
Col: 50 Expected an identifier and instead saw '}'. |
reviewbot | |
Col: 13 Expected an operator and instead saw '['. |
reviewbot | |
Col: 14 Expected ')' and instead saw '{{comment.id}}'. |
reviewbot | |
Col: 109 Expected ':' and instead saw ']'. |
reviewbot | |
Col: 111 Expected '}' to match '{' from line 7 and instead saw '%'. |
reviewbot | |
Col: 113 Expected '}' to match '{' from line 1 and instead saw 'if'. |
reviewbot | |
Col: 116 Expected ')' and instead saw 'not'. |
reviewbot | |
Col: 120 Expected ')' and instead saw 'forloop'. |
reviewbot | |
Col: 134 Expected an identifier and instead saw '}'. |
reviewbot | |
Col: 137 Expected '}' to match '{' from line 7 and instead saw '%'. |
reviewbot | |
Col: 137 Expected an assignment or function call and instead saw an expression. |
reviewbot | |
Col: 138 Missing semicolon. |
reviewbot | |
Col: 146 Expected an identifier and instead saw '}'. |
reviewbot | |
Col: 146 Expected an assignment or function call and instead saw an expression. |
reviewbot | |
Col: 147 Missing semicolon. |
reviewbot | |
Col: 2 Expected an identifier and instead saw '%'. |
reviewbot | |
Col: 2 Expected an assignment or function call and instead saw an expression. |
reviewbot | |
Col: 3 Missing semicolon. |
reviewbot | |
Col: 13 Expected an assignment or function call and instead saw an expression. |
reviewbot | |
Col: 13 Expected an identifier and instead saw '}'. |
reviewbot | |
Col: 14 Missing semicolon. |
reviewbot | |
Col: 9 Expected an identifier and instead saw ']'. |
reviewbot | |
Col: 10 Expected an operator and instead saw ','. |
reviewbot | |
Col: 10 Expected an assignment or function call and instead saw an expression. |
reviewbot | |
Col: 11 Missing semicolon. |
reviewbot | |
Col: 32 Expected an assignment or function call and instead saw an expression. |
reviewbot | |
Col: 34 Missing semicolon. |
reviewbot | |
E501 line too long (97 > 79 characters) |
reviewbot | |
E501 line too long (91 > 79 characters) |
reviewbot | |
E501 line too long (97 > 79 characters) |
reviewbot | |
E501 line too long (104 > 79 characters) |
reviewbot | |
E501 line too long (80 > 79 characters) |
reviewbot | |
E501 line too long (86 > 79 characters) |
reviewbot | |
E501 line too long (93 > 79 characters) |
reviewbot | |
E501 line too long (86 > 79 characters) |
reviewbot | |
Col: 2 Expected '}' to match '{' from line 5 and instead saw '%'. |
reviewbot | |
Col: 5 Expected ']' to match '[' from line 4 and instead saw 'for'. |
reviewbot | |
Col: 9 Expected '}' to match '{' from line 3 and instead saw 'comment'. |
reviewbot | |
Col: 50 Expected an identifier and instead saw '}'. |
reviewbot | |
Col: 13 Expected an operator and instead saw '['. |
reviewbot | |
Col: 14 Expected ')' and instead saw '{{comment.id}}'. |
reviewbot | |
Col: 109 Expected ':' and instead saw ']'. |
reviewbot | |
Col: 111 Expected '}' to match '{' from line 7 and instead saw '%'. |
reviewbot | |
Col: 113 Expected '}' to match '{' from line 1 and instead saw 'if'. |
reviewbot | |
Col: 116 Expected ')' and instead saw 'not'. |
reviewbot | |
Col: 120 Expected ')' and instead saw 'forloop'. |
reviewbot | |
Col: 134 Expected an identifier and instead saw '}'. |
reviewbot | |
Col: 137 Expected '}' to match '{' from line 7 and instead saw '%'. |
reviewbot | |
Col: 137 Expected an assignment or function call and instead saw an expression. |
reviewbot | |
Col: 138 Missing semicolon. |
reviewbot | |
Col: 146 Expected an identifier and instead saw '}'. |
reviewbot | |
Col: 146 Expected an assignment or function call and instead saw an expression. |
reviewbot | |
Col: 147 Missing semicolon. |
reviewbot | |
Col: 2 Expected an identifier and instead saw '%'. |
reviewbot | |
Col: 2 Expected an assignment or function call and instead saw an expression. |
reviewbot | |
Col: 3 Missing semicolon. |
reviewbot | |
Col: 13 Expected an identifier and instead saw '}'. |
reviewbot | |
Col: 13 Expected an assignment or function call and instead saw an expression. |
reviewbot | |
Col: 14 Missing semicolon. |
reviewbot | |
Col: 9 Expected an identifier and instead saw ']'. |
reviewbot | |
Col: 10 Expected an operator and instead saw ','. |
reviewbot | |
Col: 10 Expected an assignment or function call and instead saw an expression. |
reviewbot | |
Col: 11 Missing semicolon. |
reviewbot | |
Col: 32 Expected an assignment or function call and instead saw an expression. |
reviewbot | |
Col: 34 Missing semicolon. |
reviewbot |
for
loop to a map
.Revision 2 (+437 -116)
Warning: Showing 30 of 33 failures.