Skip to content

Fix Indentation of const script = ... #2254

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

Merged
merged 3 commits into from
Apr 22, 2023
Merged

Fix Indentation of const script = ... #2254

merged 3 commits into from
Apr 22, 2023

Conversation

FlippieCoetser
Copy link
Contributor

Improve the readability of the documentation by indenting the const script = ...

Improve the readability of the documentation by indenting the `const script = ...`
_owa_s);
}());
`.trim();
(function() {
Copy link
Collaborator

Choose a reason for hiding this comment

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

The indentation here was intentional, the extra whitespace added here will be included in the output, which likely isn't what is desired. Perhaps moving the const script outside of the class so that it is naturally non-indented would be better?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Moved the script outside of class

@Gerrit0 Gerrit0 merged commit 165b93b into TypeStrong:master Apr 22, 2023
@Gerrit0
Copy link
Collaborator

Gerrit0 commented Apr 22, 2023

Thanks!

@FlippieCoetser FlippieCoetser deleted the patch-1 branch April 22, 2023 18:26
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.

2 participants