mirror of
https://github.com/ankitects/anki.git
synced 2025-11-10 22:57:11 -05:00
9 lines
405 B
TypeScript
9 lines
405 B
TypeScript
// Copyright: Ankitects Pty Ltd and contributors
|
|
// License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|
|
|
// A standalone bundle that adds mutateNextCardStates to the anki namespace.
|
|
// When all clients are using reviewer.js directly, we can get rid of this.
|
|
|
|
import { mutateNextCardStates } from "reviewer/answering";
|
|
|
|
globalThis.anki.mutateNextCardStates = mutateNextCardStates;
|