aboutsummaryrefslogtreecommitdiff
path: root/ext/js/display
diff options
context:
space:
mode:
Diffstat (limited to 'ext/js/display')
-rw-r--r--ext/js/display/display-content-manager.js2
-rw-r--r--ext/js/display/display-generator.js4
-rw-r--r--ext/js/display/pronunciation-generator.js (renamed from ext/js/display/sandbox/pronunciation-generator.js)2
-rw-r--r--ext/js/display/structured-content-generator.js (renamed from ext/js/display/sandbox/structured-content-generator.js)6
4 files changed, 7 insertions, 7 deletions
diff --git a/ext/js/display/display-content-manager.js b/ext/js/display/display-content-manager.js
index c61c3aca..28fdc709 100644
--- a/ext/js/display/display-content-manager.js
+++ b/ext/js/display/display-content-manager.js
@@ -17,7 +17,7 @@
*/
import {EventListenerCollection} from '../core/event-listener-collection.js';
-import {base64ToArrayBuffer} from '../data/sandbox/array-buffer-util.js';
+import {base64ToArrayBuffer} from '../data/array-buffer-util.js';
/**
* The content manager which is used when generating HTML display content.
diff --git a/ext/js/display/display-generator.js b/ext/js/display/display-generator.js
index 0caf4d71..8a388a38 100644
--- a/ext/js/display/display-generator.js
+++ b/ext/js/display/display-generator.js
@@ -21,8 +21,8 @@ import {getDisambiguations, getGroupedPronunciations, getTermFrequency, groupKan
import {HtmlTemplateCollection} from '../dom/html-template-collection.js';
import {distributeFurigana, getKanaMorae, getPitchCategory, isCodePointKanji} from '../language/ja/japanese.js';
import {getLanguageFromText} from '../language/text-utilities.js';
-import {createPronunciationDownstepPosition, createPronunciationGraph, createPronunciationText} from './sandbox/pronunciation-generator.js';
-import {StructuredContentGenerator} from './sandbox/structured-content-generator.js';
+import {createPronunciationDownstepPosition, createPronunciationGraph, createPronunciationText} from './pronunciation-generator.js';
+import {StructuredContentGenerator} from './structured-content-generator.js';
export class DisplayGenerator {
/**
diff --git a/ext/js/display/sandbox/pronunciation-generator.js b/ext/js/display/pronunciation-generator.js
index f28520be..2c03eb94 100644
--- a/ext/js/display/sandbox/pronunciation-generator.js
+++ b/ext/js/display/pronunciation-generator.js
@@ -16,7 +16,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
-import {getKanaDiacriticInfo, isMoraPitchHigh} from '../../language/ja/japanese.js';
+import {getKanaDiacriticInfo, isMoraPitchHigh} from '../language/ja/japanese.js';
/**
* @param {string[]} morae
diff --git a/ext/js/display/sandbox/structured-content-generator.js b/ext/js/display/structured-content-generator.js
index 90a47158..a7fd9f3d 100644
--- a/ext/js/display/sandbox/structured-content-generator.js
+++ b/ext/js/display/structured-content-generator.js
@@ -16,15 +16,15 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
-import {getLanguageFromText} from '../../language/text-utilities.js';
+import {getLanguageFromText} from '../language/text-utilities.js';
export class StructuredContentGenerator {
/**
- * @param {import('../../display/display-content-manager.js').DisplayContentManager|import('../../templates/sandbox/anki-template-renderer-content-manager.js').AnkiTemplateRendererContentManager} contentManager
+ * @param {import('./display-content-manager.js').DisplayContentManager|import('../templates/anki-template-renderer-content-manager.js').AnkiTemplateRendererContentManager} contentManager
* @param {Document} document
*/
constructor(contentManager, document) {
- /** @type {import('../../display/display-content-manager.js').DisplayContentManager|import('../../templates/sandbox/anki-template-renderer-content-manager.js').AnkiTemplateRendererContentManager} */
+ /** @type {import('./display-content-manager.js').DisplayContentManager|import('../templates/anki-template-renderer-content-manager.js').AnkiTemplateRendererContentManager} */
this._contentManager = contentManager;
/** @type {Document} */
this._document = document;