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

Static Program Properties & Simplified Entry Points #1010

Merged
merged 2 commits into from
Dec 31, 2024
Merged

Conversation

refringe
Copy link
Contributor

Significant refactoring of globals and entry points. Oh my.

  • The global variables previously accessible throughout the codebase have been restructured as private static properties of the Program class. Public static getter methods have been added to allow read access to these properties throughout the codebase.
  • Entry points, which were dispersed across multiple files, have been consolidated and simplified into a static method on the Program class, making the entry logic easier to follow.
  • Removed unnecessary globals Program static properties.
  • Adjusted imports and references across the codebase to reflect the new structure.

Try not to focus on the gulpfile.mjs changes, as it won't be around for much longer. [winky face]

Significant refactoring of globals and entry points. Oh my.

- The global variables previously accessible throughout the codebase have been restructured as private static properties of the Program class. Public static getter methods have been added to allow read access to these properties throughout the codebase.
- Entry points, which were dispersed across multiple files, have been consolidated and simplified into a static method on the Program class, making the entry logic easier to follow.
- Removed unnecessary ~~globals~~ Program static properties.
- Adjusted imports and references across the codebase to reflect the new structure.
@refringe refringe added the enhancement New feature or request label Dec 31, 2024
@refringe refringe added this to the 4.0.0 milestone Dec 31, 2024
@refringe refringe self-assigned this Dec 31, 2024
@chompDev chompDev merged commit dbed08a into 4.0.0-DEV Dec 31, 2024
0 of 6 checks passed
@chompDev chompDev deleted the entry-globals branch December 31, 2024 10:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants