diff options
Diffstat (limited to 'ext/sw.js')
-rw-r--r-- | ext/sw.js | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/ext/sw.js b/ext/sw.js new file mode 100644 index 00000000..1b377ae0 --- /dev/null +++ b/ext/sw.js @@ -0,0 +1,45 @@ +/* + * Copyright (C) 2020 Yomichan Authors + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <https://www.gnu.org/licenses/>. + */ + +self.importScripts( + '/mixed/lib/wanakana.min.js', + '/mixed/js/core.js', + '/mixed/js/yomichan.js', + '/mixed/js/environment.js', + '/mixed/js/japanese.js', + '/mixed/js/cache-map.js', + '/mixed/js/dictionary-data-util.js', + '/mixed/js/object-property-accessor.js', + '/bg/js/anki.js', + '/bg/js/audio-downloader.js', + '/bg/js/clipboard-monitor.js', + '/bg/js/clipboard-reader.js', + '/bg/js/database.js', + '/bg/js/deinflector.js', + '/bg/js/dictionary-database.js', + '/bg/js/json-schema.js', + '/bg/js/mecab.js', + '/bg/js/media-utility.js', + '/bg/js/options.js', + '/bg/js/profile-conditions.js', + '/bg/js/request-builder.js', + '/bg/js/native-simple-dom-parser.js', + '/bg/js/text-source-map.js', + '/bg/js/translator.js', + '/bg/js/backend.js', + '/bg/js/background-main.js' +); |