diff options
Diffstat (limited to 'ext/js/data')
| -rw-r--r-- | ext/js/data/options-util.js | 9 | 
1 files changed, 9 insertions, 0 deletions
diff --git a/ext/js/data/options-util.js b/ext/js/data/options-util.js index 074beb4e..5ef30adb 100644 --- a/ext/js/data/options-util.js +++ b/ext/js/data/options-util.js @@ -545,6 +545,7 @@ export class OptionsUtil {              this._updateVersion35,              this._updateVersion36,              this._updateVersion37, +            this._updateVersion38,          ];          /* eslint-enable @typescript-eslint/unbound-method */          if (typeof targetVersion === 'number' && targetVersion < result.length) { @@ -1305,6 +1306,14 @@ export class OptionsUtil {      }      /** +     *  - Updated `conjugation` handlebars for new inflection chain format. +     *  @type {import('options-util').UpdateFunction} +     */ +    async _updateVersion38(options) { +        await this._applyAnkiFieldTemplatesPatch(options, '/data/templates/anki-field-templates-upgrade-v38.handlebars'); +    } + +    /**       * @param {string} url       * @returns {Promise<chrome.tabs.Tab>}       */  |