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

Adding additional scripts has been updated → breaks closet functionality #62

Open
sk3k-7535 opened this issue May 14, 2021 · 0 comments

Comments

@sk3k-7535
Copy link

The description how to import additional scripts (e.g. selectively activating tags) has changed since creating the video, so there are different ways I tried to import the script into the user code (importing the script or not, calling function on different locations, prioritizing script over/under setup script).
When opening anki per terminal first, one could always see the error:

JS info /__closet-0.5.3.js:1 An error occurred while executing Closet: ReferenceError: closet is not defined

Even if setup was called first and the script-function only called at the bottom, the card does not have any closet-functionalities at all.

Unfortunately, my JS-skills are quite poor, so I could not find the error yet. Maybe Layer-8?

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

No branches or pull requests

1 participant