yomichan/ext/js
toasted-nutbread 0dab38f0a6
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
2021-03-01 22:17:23 -05:00
..
app Fix wait for frontend not working properly (#1443) 2021-02-25 19:04:41 -05:00
background Improve text parser (#1469) 2021-02-28 16:38:01 -05:00
comm Text source element scanning improvements (#1464) 2021-02-28 14:18:18 -05:00
data Add standalone reading (#1448) 2021-02-27 14:04:52 -05:00
debug Use consistent number of newlines at the start of files (#1402) 2021-02-15 12:43:24 -05:00
display Add support for resizing the popup window using touch events (#1471) 2021-02-28 17:13:11 -05:00
dom Add support for scanning the selected value of <select> elements (#1461) 2021-02-28 13:26:23 -05:00
general Log refactoring (#1393) 2021-02-14 17:52:01 -05:00
input Remove the now-unused hotkey forwarding functionality (#1466) 2021-02-28 14:29:43 -05:00
language Refactor translator merged mode (#1474) 2021-03-01 22:17:23 -05:00
media Update audio downloading to support specifying an exact array index (#1405) 2021-02-15 20:47:35 -05:00
pages Improve Anki card type selection (#1445) 2021-02-26 18:15:04 -05:00
script Move api to yomichan object (#1392) 2021-02-14 15:53:35 -05:00
templates Move api to yomichan object (#1392) 2021-02-14 15:53:35 -05:00
core.js Cleanup yomichan api (#1394) 2021-02-14 18:18:02 -05:00
yomichan.js Cleanup yomichan api (#1394) 2021-02-14 18:18:02 -05:00