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?
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?