Skip to content

General cleanup & formatting #3

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

Closed
wants to merge 1 commit into from
Closed

General cleanup & formatting #3

wants to merge 1 commit into from

Conversation

ChrisMBarr
Copy link

This takes in a lot of the same changes in #1, and improves on them.

  • All class members explicitly marked either public or private
  • All class properties appear before the constructor, all class methods are after
  • All public class members appear before private class members
  • All methods have a return typedef, and all parameters have typedefs
  • All if statements are braced
  • Used a specific function signature with typed params instead of Function
  • Normalized whitespace
  • Interface members should terminate lines with a semicolon, not commas
  • Normalized all methods to return the same namespace of IntroJs. Before some returned that, and some returned the global IntroJs.IntroJs
  • Fixed a bug where onHintsAdded actually called the wrong method which was copy/pasted from the above method.

* All class members explicitly marked either `public` or `private`
* All class properties appear before the constructor, all class methods are after
* All `public` class members appear before `private` class members
* All methods have a return typedef, and all parameters have typedefs
* All `if` statements are braced
* Used a specific function signature with typed params instead of `Function`
* Normalized whitespace
* Interface members should terminate lines with a semicolon, not commas
* Normalized all methods to return the same namespace of `IntroJs`. Before some returned that, and some returned the global `IntroJs.IntroJs`
* Fixed a bug where `onHintsAdded` actually called the wrong method which was copy/pasted from the above method.
@ChrisMBarr
Copy link
Author

This PR has been approved and just sitting hear for nearly a year... is this ever going to get merged in?

@ChrisMBarr
Copy link
Author

Well after nearly 5 years I'm just gonna go ahead and close this to get it out of my list

@ChrisMBarr ChrisMBarr closed this Jan 9, 2023
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