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

Added finishing comment to mounted components. #817

Merged
merged 1 commit into from
Jun 19, 2019
Merged

Added finishing comment to mounted components. #817

merged 1 commit into from
Jun 19, 2019

Conversation

jwoertink
Copy link
Member

Purpose

fixes #793

Description

This adds an additional ending HTML comment to show where the mounted components both start and end.

Checklist

  • - An issue already exists detailing the issue/or feature request that this PR fixes
  • - All specs are formatted with crystal tool format spec src
  • - Inline documentation has been added and/or updated
  • - Lucky builds on docker with ./script/setup
  • - All builds and specs pass on docker with ./script/test

Copy link
Member

@paulcsmith paulcsmith left a comment

Choose a reason for hiding this comment

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

Just one doc comment for the new docs. And thanks for adding them :D

@@ -1,19 +1,46 @@
module Lucky::MountComponent
# Appends the `component` to the view.
#
# When `Lucky::HTMLPage.settings.render_component_comments` is
Copy link
Member

Choose a reason for hiding this comment

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

Maybe: "When Lucky::HTMLPage.settings.render_component_comments is set to true" Since that is what the user will set. They won't know about the private method

Copy link
Member Author

Choose a reason for hiding this comment

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

That's what it says now though... 🤔

Copy link
Member

Choose a reason for hiding this comment

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

Just testing you. You passed 🤣LOL

Copy link
Member

Choose a reason for hiding this comment

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

Facepalm.gif

@paulcsmith
Copy link
Member

Looks good. Pretend I never commented haha

@paulcsmith paulcsmith merged commit c295b1c into luckyframework:master Jun 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Also print where a component finished rendering
2 participants