Skip to content

Tags: saml-dev/obsidian-custom-js

Tags

1.0.21

Toggle 1.0.21's commit message
bump versions

1.0.20

Toggle 1.0.20's commit message
clarify / simplify description

1.0.19

Toggle 1.0.19's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Implement Deconstructor Management for Dynamic Class Instances in Cus…

…tomJS (#79)

* Add deconstructor handling for dynamic class instances

Implemented a mechanism to manage deconstructors in dynamically loaded class instances within CustomJS. This includes registering deconstructors upon class evaluation and ensuring proper cleanup before reloading or discarding classes to avoid duplicate event registration. The list of deconstructors is cleared after execution to maintain clean state.

* Added a setting to specify whether the startup scripts should also be re-executed when the scripts are reloaded.

Default is NO for compatibility reasons.

* The errors thrown by `eslint` have been fixed.

* Adjust Prettier EOL handling for better cross-platform compatibility

Otherwise you suddenly have 500 errors and only the correct line ends are uploaded to git.

* Readme extended with explanations and examples for using the `deconstructor` & re-execute start scripts features.

1.0.18

Toggle 1.0.18's commit message
bump versions

1.0.17

Toggle 1.0.17's commit message
bump versions

1.0.16

Toggle 1.0.16's commit message
bump versions

1.0.15

Toggle 1.0.15's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Add app to customJS object (global app is deprecated) (#66)

1.0.14

Toggle 1.0.14's commit message
release new PRs

1.0.13

Toggle 1.0.13's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
feat: makes the customJS object available for evalued scripts during …

…initialization (#41)

* feat: makes the customJS object available for evalued scripts during initialization
fixes #40

* style: increment plugin's version

1.0.12

Toggle 1.0.12's commit message
increment versions