-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SE-2176 Update doc comments for accuracy #109
Conversation
Thanks for the pull request, @swalladge! I've created OSPR-4435 to keep track of it in JIRA. JIRA is a place for product owners to prioritize feature reviews by the engineering development teams. Feel free to add as much of the following information to the ticket:
All technical communication about the code itself will still be done via the GitHub pull request interface. As a reminder, our process documentation is here. |
@swalladge Thank you for your contribution. Please let me know once it is ready for our review. |
👍 LGTM FWIW though I'm not super familiar with this area. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One minor change requested. Thanks.
@robrap Can you give another look when you have a chance? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can merge as soon as it is green.
@@ -27,6 +27,10 @@ define( | |||
'Hello, {name}. Here is a { followed by a }', {name: 'Andy'}, | |||
'Hello, Andy. Here is a { followed by a }' | |||
] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing a comma.
Maybe this is breaking the build? The error reported in Travis is not helpful. I re-ran master and it is passing, so hopefully this is it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@swalladge: Maybe you missed the first line above? There is a bug. You are missing a comma at the end of line 29.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, nice catch.
The unhelpful travis error is due to recent changes with how xvfb works with travis (the previous builds including the one you reran were on trusty, travis now defaults to xenial). I'm going to try using the latest method for xvfb with xenial, otherwise will explicitly pin back to trusty and use the original method.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tests passing now, i'll squash in prep for merge. Thanks for your review @robrap ! :)
- provide example of html escaping for the interpolateHtml method - fix misleading comments about escaping for StringUtils.interpolate (it does not in fact escape anything) - update interpolate examples for accuracy and to better represent functionality - pin travis image to trusty - current setup is not compatible with latest default image (xenial)
4c7e3ee
to
863cdd1
Compare
@swalladge 🎉 Your pull request was merged! Please take a moment to answer a two question survey so we can improve your experience in the future. |
Currently there are discrepancies between the official docs, the code, and the doc comments here. These were found while investigating https://github.com/edx/edx-platform/pull/23039#discussion_r417670046
This PR does:
does not in fact escape anything)
Jira tickets: OSPR-4435
Test instructions:
Reviewers: