summaryrefslogtreecommitdiff
path: root/ext/bg/background.html
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-09-26 13:42:31 -0400
committerGitHub <noreply@github.com>2020-09-26 13:42:31 -0400
commit079307899f3b57f2aec121631b56fb8780430e8e (patch)
tree919ac88504af5895f9dbcc778ff2dd3c56a5ec26 /ext/bg/background.html
parent0b51488f1f639885b518fabf683b70db577afa67 (diff)
Media utility refactor (#859)
* Move loadImageBase64 into DictionaryImporter * Convert mediaUtility to a class * Add getFileExtensionFromImageMediaType to MediaUtility * Use MediaUtility instead of _getImageExtensionFromMediaType * Use MediaUtility in ClipboardReader to validate images before reading
Diffstat (limited to 'ext/bg/background.html')
-rw-r--r--ext/bg/background.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/bg/background.html b/ext/bg/background.html
index ba0710e6..f42a411d 100644
--- a/ext/bg/background.html
+++ b/ext/bg/background.html
@@ -35,6 +35,7 @@
<script src="/bg/js/dictionary-database.js"></script>
<script src="/bg/js/json-schema.js"></script>
<script src="/bg/js/mecab.js"></script>
+ <script src="/bg/js/media-utility.js"></script>
<script src="/bg/js/options.js"></script>
<script src="/bg/js/profile-conditions.js"></script>
<script src="/bg/js/request-builder.js"></script>