mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 22:12:21 -04:00
fix mutateNextCardStates being exported into global namespace
https://forums.ankiweb.net/t/v3-custom-scheduler-not-working/12441
This commit is contained in:
parent
79fbf9ad3e
commit
0671e7e712
1 changed files with 3 additions and 1 deletions
|
@ -10,7 +10,9 @@ import "css-browser-selector/css_browser_selector.min";
|
||||||
|
|
||||||
export { default as $, default as jQuery } from "jquery/dist/jquery";
|
export { default as $, default as jQuery } from "jquery/dist/jquery";
|
||||||
|
|
||||||
export { mutateNextCardStates } from "./answering";
|
import { mutateNextCardStates } from "./answering";
|
||||||
|
globalThis.anki = globalThis.anki || {};
|
||||||
|
globalThis.anki.mutateNextCardStates = mutateNextCardStates;
|
||||||
|
|
||||||
import { bridgeCommand } from "lib/bridgecommand";
|
import { bridgeCommand } from "lib/bridgecommand";
|
||||||
import { allImagesLoaded, preloadAnswerImages } from "./images";
|
import { allImagesLoaded, preloadAnswerImages } from "./images";
|
||||||
|
|
Loading…
Reference in a new issue