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

Refactor JS modules #832

Merged
merged 11 commits into from Feb 21, 2022
Merged

Refactor JS modules #832

merged 11 commits into from Feb 21, 2022

Conversation

sebnitu
Copy link
Owner

@sebnitu sebnitu commented Feb 18, 2022

What changed?

The PR introduces some general JavaScript modules refactoring. There are no functionality changes. Some of this refactoring includes:

  • Using JSDocs style comments.
  • Splitting functionality into their own module files.
  • Using call() when needing to pass a function the this context.
  • Rename show/hide to open/close to keep popover consistent with modals and drawers
  • Update documentation as needed.

@sebnitu sebnitu force-pushed the refactor-js-modules branch 2 times, most recently from fbed8c8 to 531eecf Compare February 20, 2022 17:36
@sebnitu sebnitu marked this pull request as ready for review February 21, 2022 02:05
@sebnitu sebnitu merged commit 6e4a76c into master Feb 21, 2022
@sebnitu sebnitu deleted the refactor-js-modules branch February 21, 2022 02:11
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

1 participant