aboutsummaryrefslogtreecommitdiff
path: root/dev
diff options
context:
space:
mode:
Diffstat (limited to 'dev')
-rw-r--r--dev/database-vm.js4
-rw-r--r--dev/translator-vm.js2
2 files changed, 5 insertions, 1 deletions
diff --git a/dev/database-vm.js b/dev/database-vm.js
index 0127bc8f..07d9bd5a 100644
--- a/dev/database-vm.js
+++ b/dev/database-vm.js
@@ -68,6 +68,10 @@ class Image {
}
}
+ removeAttribute() {
+ // NOP
+ }
+
async _delayTriggerLoad() {
await Promise.resolve();
for (const callback of this._loadCallbacks) {
diff --git a/dev/translator-vm.js b/dev/translator-vm.js
index 49101cf0..3c3886ba 100644
--- a/dev/translator-vm.js
+++ b/dev/translator-vm.js
@@ -72,7 +72,7 @@ class TranslatorVM extends DatabaseVM {
// Dictionary
this._dictionaryName = dictionaryName;
const testDictionary = createDictionaryArchive(dictionaryDirectory, dictionaryName);
- const testDictionaryContent = await testDictionary.generateAsync({type: 'string'});
+ const testDictionaryContent = await testDictionary.generateAsync({type: 'arraybuffer'});
// Setup database
const dictionaryImporter = new DictionaryImporter();