From 92cfd31c0faf333c3affb2c9a7b14c4960cf156a Mon Sep 17 00:00:00 2001 From: toasted-nutbread Date: Sat, 12 Dec 2020 14:47:17 -0500 Subject: Fix global declarations check (#1101) * Fix getSubstringCount not properly checking word boundaries * Remove unused global declarations --- ext/bg/js/settings/anki-templates-controller.js | 1 - ext/bg/js/settings/backup-controller.js | 1 - ext/bg/js/settings/dictionary-controller.js | 1 - ext/bg/js/settings/dictionary-import-controller.js | 1 - ext/bg/js/settings/popup-preview-frame.js | 1 - ext/bg/js/settings/profile-controller.js | 1 - 6 files changed, 6 deletions(-) (limited to 'ext/bg') diff --git a/ext/bg/js/settings/anki-templates-controller.js b/ext/bg/js/settings/anki-templates-controller.js index 3ac4fa9e..edf6f2c8 100644 --- a/ext/bg/js/settings/anki-templates-controller.js +++ b/ext/bg/js/settings/anki-templates-controller.js @@ -17,7 +17,6 @@ /* global * AnkiNoteBuilder - * Modal * TemplateRendererProxy * api */ diff --git a/ext/bg/js/settings/backup-controller.js b/ext/bg/js/settings/backup-controller.js index 8f24bdb4..b37dd91d 100644 --- a/ext/bg/js/settings/backup-controller.js +++ b/ext/bg/js/settings/backup-controller.js @@ -17,7 +17,6 @@ /* global * DictionaryController - * Modal * OptionsUtil * api */ diff --git a/ext/bg/js/settings/dictionary-controller.js b/ext/bg/js/settings/dictionary-controller.js index db3ebb22..d2ff831f 100644 --- a/ext/bg/js/settings/dictionary-controller.js +++ b/ext/bg/js/settings/dictionary-controller.js @@ -17,7 +17,6 @@ /* global * DictionaryDatabase - * Modal * ObjectPropertyAccessor * api */ diff --git a/ext/bg/js/settings/dictionary-import-controller.js b/ext/bg/js/settings/dictionary-import-controller.js index 22146ec1..1c306c78 100644 --- a/ext/bg/js/settings/dictionary-import-controller.js +++ b/ext/bg/js/settings/dictionary-import-controller.js @@ -18,7 +18,6 @@ /* global * DictionaryDatabase * DictionaryImporter - * Modal * ObjectPropertyAccessor * api */ diff --git a/ext/bg/js/settings/popup-preview-frame.js b/ext/bg/js/settings/popup-preview-frame.js index 8225ecb8..e3d598d9 100644 --- a/ext/bg/js/settings/popup-preview-frame.js +++ b/ext/bg/js/settings/popup-preview-frame.js @@ -17,7 +17,6 @@ /* global * Frontend - * Popup * TextSourceRange * api * wanakana diff --git a/ext/bg/js/settings/profile-controller.js b/ext/bg/js/settings/profile-controller.js index aa74b419..4e0782d6 100644 --- a/ext/bg/js/settings/profile-controller.js +++ b/ext/bg/js/settings/profile-controller.js @@ -16,7 +16,6 @@ */ /* global - * Modal * ProfileConditionsUI * api */ -- cgit v1.2.3