Skip to content

Conversation

tpraxl
Copy link
Owner

@tpraxl tpraxl commented Oct 3, 2024

promise.js was required by lib sources, and promise.js required the same lib sources eventually. Extracted the respective classes to lib. Also extracted functions that are
shared between several of the new files.

Decided to put each exported class / function into its own file. This may bloat the lib folder a bit, but it provides clarity (where to find what).

tpraxl added 3 commits October 3, 2024 08:11
promise.js was required by lib sources, and promise.js required
the same lib sources eventually. Extracted the respective
classes to lib. Also extracted functions that are
shared between several of the new files.

Decided to put each exported class / function into its own file.
This may bloat the lib folder a bit, but it provides clarity
(where to find what).
The extraction of classes was performed without extracting
the patch of methods like `escape`, etc.
The patching is now performed in the files that define the
respective classes, guaranteeing patched versions when
these files are required.
@tpraxl tpraxl merged commit 2ec00fe into fix/circular-dependencies Oct 22, 2024
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.

1 participant