diff options
Diffstat (limited to 'ext/js')
| -rw-r--r-- | ext/js/app/popup.js | 1 | ||||
| -rw-r--r-- | ext/js/comm/anki-connect.js | 1 | ||||
| -rw-r--r-- | ext/js/data/anki-note-builder.js | 1 | ||||
| -rw-r--r-- | ext/js/display/display-generator.js | 1 | ||||
| -rw-r--r-- | ext/js/display/option-toggle-hotkey-handler.js | 1 | ||||
| -rw-r--r-- | ext/js/language/dictionary-worker-handler.js | 1 | ||||
| -rw-r--r-- | ext/js/language/dictionary-worker-media-loader.js | 1 | ||||
| -rw-r--r-- | ext/js/language/dictionary-worker.js | 1 | ||||
| -rw-r--r-- | ext/js/media/audio-downloader.js | 1 | ||||
| -rw-r--r-- | ext/js/pages/settings/anki-controller.js | 1 | ||||
| -rw-r--r-- | ext/js/pages/settings/anki-templates-controller.js | 1 | ||||
| -rw-r--r-- | ext/js/pages/settings/dictionary-import-controller.js | 1 | ||||
| -rw-r--r-- | ext/js/pages/settings/generic-setting-controller.js | 1 | ||||
| -rw-r--r-- | ext/js/templates/sandbox/template-renderer-frame-api.js | 2 | ||||
| -rw-r--r-- | ext/js/templates/sandbox/template-renderer.js | 1 | ||||
| -rw-r--r-- | ext/js/templates/template-renderer-proxy.js | 1 | 
16 files changed, 17 insertions, 0 deletions
| diff --git a/ext/js/app/popup.js b/ext/js/app/popup.js index 31b18f01..4f201fc3 100644 --- a/ext/js/app/popup.js +++ b/ext/js/app/popup.js @@ -18,6 +18,7 @@  import {FrameClient} from '../comm/frame-client.js';  import {DynamicProperty, EventDispatcher, EventListenerCollection, deepEqual} from '../core.js'; +import {ExtensionError} from '../core/extension-error.js';  import {DocumentUtil} from '../dom/document-util.js';  import {dynamicLoader} from '../script/dynamic-loader.js';  import {yomitan} from '../yomitan.js'; diff --git a/ext/js/comm/anki-connect.js b/ext/js/comm/anki-connect.js index b876703f..7ff8d0e1 100644 --- a/ext/js/comm/anki-connect.js +++ b/ext/js/comm/anki-connect.js @@ -16,6 +16,7 @@   * along with this program.  If not, see <https://www.gnu.org/licenses/>.   */ +import {ExtensionError} from '../core/extension-error.js';  import {AnkiUtil} from '../data/anki-util.js';  /** diff --git a/ext/js/data/anki-note-builder.js b/ext/js/data/anki-note-builder.js index f8296ee0..28809e1f 100644 --- a/ext/js/data/anki-note-builder.js +++ b/ext/js/data/anki-note-builder.js @@ -17,6 +17,7 @@   */  import {deferPromise} from '../core.js'; +import {ExtensionError} from '../core/extension-error.js';  import {TemplateRendererProxy} from '../templates/template-renderer-proxy.js';  import {yomitan} from '../yomitan.js';  import {AnkiUtil} from './anki-util.js'; diff --git a/ext/js/display/display-generator.js b/ext/js/display/display-generator.js index 9fc700f3..e8be79d9 100644 --- a/ext/js/display/display-generator.js +++ b/ext/js/display/display-generator.js @@ -17,6 +17,7 @@   */  import {isObject} from '../core.js'; +import {ExtensionError} from '../core/extension-error.js';  import {HtmlTemplateCollection} from '../dom/html-template-collection.js';  import {DictionaryDataUtil} from '../language/sandbox/dictionary-data-util.js';  import {yomitan} from '../yomitan.js'; diff --git a/ext/js/display/option-toggle-hotkey-handler.js b/ext/js/display/option-toggle-hotkey-handler.js index e73fcf04..9677e86b 100644 --- a/ext/js/display/option-toggle-hotkey-handler.js +++ b/ext/js/display/option-toggle-hotkey-handler.js @@ -16,6 +16,7 @@   * along with this program.  If not, see <https://www.gnu.org/licenses/>.   */ +import {ExtensionError} from '../core/extension-error.js';  import {yomitan} from '../yomitan.js';  export class OptionToggleHotkeyHandler { diff --git a/ext/js/language/dictionary-worker-handler.js b/ext/js/language/dictionary-worker-handler.js index 3a85cb71..9a724386 100644 --- a/ext/js/language/dictionary-worker-handler.js +++ b/ext/js/language/dictionary-worker-handler.js @@ -16,6 +16,7 @@   * along with this program.  If not, see <https://www.gnu.org/licenses/>.   */ +import {ExtensionError} from '../core/extension-error.js';  import {DictionaryDatabase} from './dictionary-database.js';  import {DictionaryImporter} from './dictionary-importer.js';  import {DictionaryWorkerMediaLoader} from './dictionary-worker-media-loader.js'; diff --git a/ext/js/language/dictionary-worker-media-loader.js b/ext/js/language/dictionary-worker-media-loader.js index 2701389e..e19a13d3 100644 --- a/ext/js/language/dictionary-worker-media-loader.js +++ b/ext/js/language/dictionary-worker-media-loader.js @@ -17,6 +17,7 @@   */  import {generateId} from '../core.js'; +import {ExtensionError} from '../core/extension-error.js';  /**   * Class used for loading and validating media from a worker thread diff --git a/ext/js/language/dictionary-worker.js b/ext/js/language/dictionary-worker.js index b9d0236c..3e78a6ff 100644 --- a/ext/js/language/dictionary-worker.js +++ b/ext/js/language/dictionary-worker.js @@ -16,6 +16,7 @@   * along with this program.  If not, see <https://www.gnu.org/licenses/>.   */ +import {ExtensionError} from '../core/extension-error.js';  import {DictionaryImporterMediaLoader} from './dictionary-importer-media-loader.js';  export class DictionaryWorker { diff --git a/ext/js/media/audio-downloader.js b/ext/js/media/audio-downloader.js index 8bd04b2b..7b236790 100644 --- a/ext/js/media/audio-downloader.js +++ b/ext/js/media/audio-downloader.js @@ -17,6 +17,7 @@   */  import {RequestBuilder} from '../background/request-builder.js'; +import {ExtensionError} from '../core/extension-error.js';  import {JsonSchema} from '../data/json-schema.js';  import {ArrayBufferUtil} from '../data/sandbox/array-buffer-util.js';  import {NativeSimpleDOMParser} from '../dom/native-simple-dom-parser.js'; diff --git a/ext/js/pages/settings/anki-controller.js b/ext/js/pages/settings/anki-controller.js index 0ccd018d..722459df 100644 --- a/ext/js/pages/settings/anki-controller.js +++ b/ext/js/pages/settings/anki-controller.js @@ -18,6 +18,7 @@  import {AnkiConnect} from '../../comm/anki-connect.js';  import {EventListenerCollection, log} from '../../core.js'; +import {ExtensionError} from '../../core/extension-error.js';  import {AnkiUtil} from '../../data/anki-util.js';  import {SelectorObserver} from '../../dom/selector-observer.js';  import {ObjectPropertyAccessor} from '../../general/object-property-accessor.js'; diff --git a/ext/js/pages/settings/anki-templates-controller.js b/ext/js/pages/settings/anki-templates-controller.js index d2814880..a0ff96b2 100644 --- a/ext/js/pages/settings/anki-templates-controller.js +++ b/ext/js/pages/settings/anki-templates-controller.js @@ -16,6 +16,7 @@   * along with this program.  If not, see <https://www.gnu.org/licenses/>.   */ +import {ExtensionError} from '../../core/extension-error.js';  import {AnkiNoteBuilder} from '../../data/anki-note-builder.js';  import {JapaneseUtil} from '../../language/sandbox/japanese-util.js';  import {yomitan} from '../../yomitan.js'; diff --git a/ext/js/pages/settings/dictionary-import-controller.js b/ext/js/pages/settings/dictionary-import-controller.js index 106ecbca..af8c2fcd 100644 --- a/ext/js/pages/settings/dictionary-import-controller.js +++ b/ext/js/pages/settings/dictionary-import-controller.js @@ -17,6 +17,7 @@   */  import {log} from '../../core.js'; +import {ExtensionError} from '../../core/extension-error.js';  import {DictionaryWorker} from '../../language/dictionary-worker.js';  import {yomitan} from '../../yomitan.js';  import {DictionaryController} from './dictionary-controller.js'; diff --git a/ext/js/pages/settings/generic-setting-controller.js b/ext/js/pages/settings/generic-setting-controller.js index 3c6104a9..47c0d6fe 100644 --- a/ext/js/pages/settings/generic-setting-controller.js +++ b/ext/js/pages/settings/generic-setting-controller.js @@ -16,6 +16,7 @@   * along with this program.  If not, see <https://www.gnu.org/licenses/>.   */ +import {ExtensionError} from '../../core/extension-error.js';  import {DocumentUtil} from '../../dom/document-util.js';  import {DOMDataBinder} from '../../dom/dom-data-binder.js'; diff --git a/ext/js/templates/sandbox/template-renderer-frame-api.js b/ext/js/templates/sandbox/template-renderer-frame-api.js index 31ba4500..91400ab8 100644 --- a/ext/js/templates/sandbox/template-renderer-frame-api.js +++ b/ext/js/templates/sandbox/template-renderer-frame-api.js @@ -16,6 +16,8 @@   * along with this program.  If not, see <https://www.gnu.org/licenses/>.   */ +import {ExtensionError} from '../../core/extension-error.js'; +  export class TemplateRendererFrameApi {      /**       * @param {TemplateRenderer} templateRenderer diff --git a/ext/js/templates/sandbox/template-renderer.js b/ext/js/templates/sandbox/template-renderer.js index c7613533..716e3ccc 100644 --- a/ext/js/templates/sandbox/template-renderer.js +++ b/ext/js/templates/sandbox/template-renderer.js @@ -17,6 +17,7 @@   */  import {Handlebars} from '../../../lib/handlebars.js'; +import {ExtensionError} from '../../core/extension-error.js';  export class TemplateRenderer {      constructor() { diff --git a/ext/js/templates/template-renderer-proxy.js b/ext/js/templates/template-renderer-proxy.js index e67b715a..642eea8b 100644 --- a/ext/js/templates/template-renderer-proxy.js +++ b/ext/js/templates/template-renderer-proxy.js @@ -17,6 +17,7 @@   */  import {generateId} from '../core.js'; +import {ExtensionError} from '../core/extension-error.js';  export class TemplateRendererProxy {      constructor() { |