mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 06:22:22 -04:00

Based on a similar approach I used for AnkiDroid. The separate modules file has been integrated into ftl.js.
11 lines
420 B
TypeScript
11 lines
420 B
TypeScript
// Copyright: Ankitects Pty Ltd and contributors
|
|
// License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|
|
|
export { ModuleName } from "../../../out/ts/lib/ftl";
|
|
export * from "./bundles";
|
|
export * from "./utils";
|
|
// this is an ugly hack to inject code into a generated module
|
|
import { funcs } from "../../../out/ts/lib/ftl";
|
|
import { getMessage } from "./bundles";
|
|
|
|
funcs.getMessage = getMessage;
|