aboutsummaryrefslogtreecommitdiff
path: root/ext/js/app/content-script-main.js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2021-03-01 22:17:23 -0500
committerGitHub <noreply@github.com>2021-03-01 22:17:23 -0500
commit0dab38f0a62c0bde4d8c32ec16f9d2a0672b85eb (patch)
tree51b64a85450e3bb59015b222376451719d055cc9 /ext/js/app/content-script-main.js
parentb477da97d43883592d420883f20d137d06e8e2cd (diff)
Refactor translator merged mode (#1474)
* Remove sourceDefinitions * Add id * Remove related definitions from unsequencedDefinitions * Add separate _addRelatedDefinitions function * Add secondary definitions * Update how secondary definitions are added * Update expression/reading source * Move _mergeByGlossary body * Refactor _createTermDetailsListFromTermInfoMap * Move _addUniqueTermInfos body * Rename function * Organize * Simplify duplicate check * Rename relatedDefinitionIds to definitionIds * Refactor secondary definition adding * Early exit * Add matching unsequencedDefinitions to secondaryDefinitions * Clean * Fix incorrect condition * Move _addSecondaryDefinitions call * Add comments
Diffstat (limited to 'ext/js/app/content-script-main.js')
0 files changed, 0 insertions, 0 deletions