2020-09-19 01:16:39 +00:00
|
|
|
/*
|
2021-01-01 19:50:41 +00:00
|
|
|
* Copyright (C) 2020-2021 Yomichan Authors
|
2020-09-19 01:16:39 +00:00
|
|
|
*
|
|
|
|
* This program is free software: you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation, either version 3 of the License, or
|
|
|
|
* (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
|
|
*/
|
|
|
|
|
|
|
|
/* globals
|
2021-07-18 15:20:03 +00:00
|
|
|
* AnkiTemplateRenderer
|
2020-09-19 01:16:39 +00:00
|
|
|
* TemplateRendererFrameApi
|
|
|
|
*/
|
|
|
|
|
2021-07-03 02:46:38 +00:00
|
|
|
(async () => {
|
2021-07-18 15:20:03 +00:00
|
|
|
const ankiTemplateRenderer = new AnkiTemplateRenderer();
|
|
|
|
await ankiTemplateRenderer.prepare();
|
|
|
|
const templateRendererFrameApi = new TemplateRendererFrameApi(ankiTemplateRenderer.templateRenderer);
|
2021-02-14 20:53:35 +00:00
|
|
|
templateRendererFrameApi.prepare();
|
2020-09-19 01:16:39 +00:00
|
|
|
})();
|