summaryrefslogtreecommitdiff
path: root/ext/js/templates
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2024-03-04 07:43:31 -0500
committerGitHub <noreply@github.com>2024-03-04 12:43:31 +0000
commit4fe881d68d4c1182bee2e78a559c2064aaf48b0d (patch)
tree00e8b209b90cae66ca289f5ea3e0c466e17d6fd3 /ext/js/templates
parent81fc2bd6d063db92f90171722e8129875bdb56cd (diff)
Move sandbox files (#731)
* Move sandbox files * Update order
Diffstat (limited to 'ext/js/templates')
-rw-r--r--ext/js/templates/anki-template-renderer-content-manager.js (renamed from ext/js/templates/sandbox/anki-template-renderer-content-manager.js)0
-rw-r--r--ext/js/templates/anki-template-renderer.js (renamed from ext/js/templates/sandbox/anki-template-renderer.js)14
-rw-r--r--ext/js/templates/template-renderer-frame-api.js (renamed from ext/js/templates/sandbox/template-renderer-frame-api.js)4
-rw-r--r--ext/js/templates/template-renderer-frame-main.js (renamed from ext/js/templates/sandbox/template-renderer-frame-main.js)0
-rw-r--r--ext/js/templates/template-renderer-media-provider.js (renamed from ext/js/templates/sandbox/template-renderer-media-provider.js)2
-rw-r--r--ext/js/templates/template-renderer.js (renamed from ext/js/templates/sandbox/template-renderer.js)4
6 files changed, 12 insertions, 12 deletions
diff --git a/ext/js/templates/sandbox/anki-template-renderer-content-manager.js b/ext/js/templates/anki-template-renderer-content-manager.js
index 664746bf..664746bf 100644
--- a/ext/js/templates/sandbox/anki-template-renderer-content-manager.js
+++ b/ext/js/templates/anki-template-renderer-content-manager.js
diff --git a/ext/js/templates/sandbox/anki-template-renderer.js b/ext/js/templates/anki-template-renderer.js
index 022716c3..4bb56a4b 100644
--- a/ext/js/templates/sandbox/anki-template-renderer.js
+++ b/ext/js/templates/anki-template-renderer.js
@@ -16,13 +16,13 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
-import {Handlebars} from '../../../lib/handlebars.js';
-import {createAnkiNoteData} from '../../data/sandbox/anki-note-data-creator.js';
-import {getPronunciationsOfType, isNonNounVerbOrAdjective} from '../../dictionary/dictionary-data-util.js';
-import {createPronunciationDownstepPosition, createPronunciationGraph, createPronunciationText} from '../../display/sandbox/pronunciation-generator.js';
-import {StructuredContentGenerator} from '../../display/sandbox/structured-content-generator.js';
-import {CssStyleApplier} from '../../dom/sandbox/css-style-applier.js';
-import {convertHiraganaToKatakana, convertKatakanaToHiragana, distributeFurigana, getKanaMorae, getPitchCategory, isMoraPitchHigh} from '../../language/ja/japanese.js';
+import {Handlebars} from '../../lib/handlebars.js';
+import {createAnkiNoteData} from '../data/anki-note-data-creator.js';
+import {getPronunciationsOfType, isNonNounVerbOrAdjective} from '../dictionary/dictionary-data-util.js';
+import {createPronunciationDownstepPosition, createPronunciationGraph, createPronunciationText} from '../display/pronunciation-generator.js';
+import {StructuredContentGenerator} from '../display/structured-content-generator.js';
+import {CssStyleApplier} from '../dom/css-style-applier.js';
+import {convertHiraganaToKatakana, convertKatakanaToHiragana, distributeFurigana, getKanaMorae, getPitchCategory, isMoraPitchHigh} from '../language/ja/japanese.js';
import {AnkiTemplateRendererContentManager} from './anki-template-renderer-content-manager.js';
import {TemplateRendererMediaProvider} from './template-renderer-media-provider.js';
import {TemplateRenderer} from './template-renderer.js';
diff --git a/ext/js/templates/sandbox/template-renderer-frame-api.js b/ext/js/templates/template-renderer-frame-api.js
index a0017d70..cd9b4232 100644
--- a/ext/js/templates/sandbox/template-renderer-frame-api.js
+++ b/ext/js/templates/template-renderer-frame-api.js
@@ -16,8 +16,8 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
-import {createApiMap, invokeApiMapHandler} from '../../core/api-map.js';
-import {parseJson} from '../../core/json.js';
+import {createApiMap, invokeApiMapHandler} from '../core/api-map.js';
+import {parseJson} from '../core/json.js';
export class TemplateRendererFrameApi {
/**
diff --git a/ext/js/templates/sandbox/template-renderer-frame-main.js b/ext/js/templates/template-renderer-frame-main.js
index 4ab7d2bc..4ab7d2bc 100644
--- a/ext/js/templates/sandbox/template-renderer-frame-main.js
+++ b/ext/js/templates/template-renderer-frame-main.js
diff --git a/ext/js/templates/sandbox/template-renderer-media-provider.js b/ext/js/templates/template-renderer-media-provider.js
index 29dd29ae..2f238e20 100644
--- a/ext/js/templates/sandbox/template-renderer-media-provider.js
+++ b/ext/js/templates/template-renderer-media-provider.js
@@ -16,7 +16,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
-import {Handlebars} from '../../../lib/handlebars.js';
+import {Handlebars} from '../../lib/handlebars.js';
export class TemplateRendererMediaProvider {
constructor() {
diff --git a/ext/js/templates/sandbox/template-renderer.js b/ext/js/templates/template-renderer.js
index 84eb6a19..7bb93aa2 100644
--- a/ext/js/templates/sandbox/template-renderer.js
+++ b/ext/js/templates/template-renderer.js
@@ -16,8 +16,8 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
-import {Handlebars} from '../../../lib/handlebars.js';
-import {ExtensionError} from '../../core/extension-error.js';
+import {Handlebars} from '../../lib/handlebars.js';
+import {ExtensionError} from '../core/extension-error.js';
export class TemplateRenderer {
constructor() {