Skip to content
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

[student-libraries] Multiple single-line comments in a row are now parsed as a multiline comment. #31605

Merged
merged 2 commits into from
Nov 4, 2019

Conversation

jmkulwik
Copy link
Contributor

Description

Since we couldn't make a multiline comment block, we instead decided to support multiple single-line comment blocks as if they were a multiline comment block.

That means these two will be interpreted the same way from a library's perspective.
image

Links

Testing story

Reviewer Checklist:

  • Tests provide adequate coverage
  • Code is well-commented
  • New features are translatable or updates will not break translations
  • Relevant documentation has been added or updated
  • User impact is well-understood and desirable
  • Pull Request is labeled appropriately
  • Follow-up work items (including potential tech debt) are tracked and linked

.substr(1)
.split('\n * ')
.join('\n');
// let commentText = comment ? comment.text : '';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: remove commented out line

@jmkulwik jmkulwik merged commit 0e5d77c into staging Nov 4, 2019
@jmkulwik jmkulwik deleted the prod-libraries-multiplecomments branch November 4, 2019 17:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants