aboutsummaryrefslogtreecommitdiff
path: root/ext/js/data
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/data
parent81fc2bd6d063db92f90171722e8129875bdb56cd (diff)
Move sandbox files (#731)
* Move sandbox files * Update order
Diffstat (limited to 'ext/js/data')
-rw-r--r--ext/js/data/anki-note-builder.js4
-rw-r--r--ext/js/data/anki-note-data-creator.js (renamed from ext/js/data/sandbox/anki-note-data-creator.js)4
-rw-r--r--ext/js/data/array-buffer-util.js (renamed from ext/js/data/sandbox/array-buffer-util.js)0
-rw-r--r--ext/js/data/string-util.js (renamed from ext/js/data/sandbox/string-util.js)0
4 files changed, 4 insertions, 4 deletions
diff --git a/ext/js/data/anki-note-builder.js b/ext/js/data/anki-note-builder.js
index 32d4b593..e156103a 100644
--- a/ext/js/data/anki-note-builder.js
+++ b/ext/js/data/anki-note-builder.js
@@ -25,14 +25,14 @@ export class AnkiNoteBuilder {
/**
* Initiate an instance of AnkiNoteBuilder.
* @param {import('anki-note-builder').MinimalApi} api
- * @param {import('../templates/template-renderer-proxy.js').TemplateRendererProxy|import('../templates/sandbox/template-renderer.js').TemplateRenderer} templateRenderer
+ * @param {import('../templates/template-renderer-proxy.js').TemplateRendererProxy|import('../templates/template-renderer.js').TemplateRenderer} templateRenderer
*/
constructor(api, templateRenderer) {
/** @type {import('anki-note-builder').MinimalApi} */
this._api = api;
/** @type {RegExp} */
this._markerPattern = cloneFieldMarkerPattern(true);
- /** @type {import('../templates/template-renderer-proxy.js').TemplateRendererProxy|import('../templates/sandbox/template-renderer.js').TemplateRenderer} */
+ /** @type {import('../templates/template-renderer-proxy.js').TemplateRendererProxy|import('../templates/template-renderer.js').TemplateRenderer} */
this._templateRenderer = templateRenderer;
/** @type {import('anki-note-builder').BatchedRequestGroup[]} */
this._batchedRequests = [];
diff --git a/ext/js/data/sandbox/anki-note-data-creator.js b/ext/js/data/anki-note-data-creator.js
index d0456b0f..fbeb8cee 100644
--- a/ext/js/data/sandbox/anki-note-data-creator.js
+++ b/ext/js/data/anki-note-data-creator.js
@@ -16,8 +16,8 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
-import {getDisambiguations, getGroupedPronunciations, getPronunciationsOfType, getTermFrequency, groupTermTags} from '../../dictionary/dictionary-data-util.js';
-import {distributeFurigana, distributeFuriganaInflected} from '../../language/ja/japanese.js';
+import {getDisambiguations, getGroupedPronunciations, getPronunciationsOfType, getTermFrequency, groupTermTags} from '../dictionary/dictionary-data-util.js';
+import {distributeFurigana, distributeFuriganaInflected} from '../language/ja/japanese.js';
/**
* Creates a compatibility representation of the specified data.
diff --git a/ext/js/data/sandbox/array-buffer-util.js b/ext/js/data/array-buffer-util.js
index 487fcd24..487fcd24 100644
--- a/ext/js/data/sandbox/array-buffer-util.js
+++ b/ext/js/data/array-buffer-util.js
diff --git a/ext/js/data/sandbox/string-util.js b/ext/js/data/string-util.js
index 45e52f08..45e52f08 100644
--- a/ext/js/data/sandbox/string-util.js
+++ b/ext/js/data/string-util.js