Commit Graph

302 Commits

Author SHA1 Message Date
toasted-nutbread
faf15c08aa Rename optionsUpdate event to optionsUpdated
Past tense better indicates that the options were changed, but no data
is being included as part of the event. It is also more consistent with
the other event names the yomichan object currently provides.
2020-02-14 22:34:44 -05:00
toasted-nutbread
853faaf48c
Merge pull request #358 from toasted-nutbread/general-refactoring
General refactoring
2020-02-14 21:25:25 -05:00
toasted-nutbread
61c6a753ce Add apiTemplateRender back to mixed api.js 2020-02-14 20:11:40 -05:00
siikamiika
548c67ef1c remove extra setContentToken check from Display 2020-02-14 23:17:21 +02:00
siikamiika
c09a3ded1d
Merge pull request #357 from siikamiika/simplify-display-prepare
Simplify display prepare
2020-02-14 11:00:36 +02:00
toasted-nutbread
483f7401b7 Validate bounds of Display.definitions before using 2020-02-13 20:50:31 -05:00
toasted-nutbread
db1da33321 Use Array.from in toIterable 2020-02-13 20:50:31 -05:00
toasted-nutbread
75fbb1565c Use Map for audioGetFromSources's cache parameter 2020-02-13 20:50:30 -05:00
toasted-nutbread
e3c871bc00 Remove unused handlebarsRenderStatic 2020-02-13 20:50:30 -05:00
siikamiika
d7e1ef01d8 use Promise.all to await dependencies 2020-02-13 16:26:45 +02:00
siikamiika
8abab28c4d remove isPrepared check 2020-02-13 14:36:32 +02:00
siikamiika
df37acd17f rename display initialize methods to prepare 2020-02-13 01:59:26 +02:00
siikamiika
93eaee9765 simplify DisplayGenerator initialization 2020-02-13 01:43:01 +02:00
toasted-nutbread
4629fb3639 Change no-undef from off to error 2020-02-11 22:22:16 -05:00
siikamiika
9ffd0cb441
Merge pull request #350 from siikamiika/query-parser-html-templates
query parser html templates
2020-02-11 11:07:05 +02:00
toasted-nutbread
17181eb97e Improve style of some tags 2020-02-10 21:38:11 -05:00
toasted-nutbread
bbb74d0a48 Assign _isInitialized 2020-02-10 20:38:20 -05:00
siikamiika
4f1ed14f07 simplify TemplateHandler 2020-02-10 21:56:48 +02:00
siikamiika
6c63a17d66 query parser html templates 2020-02-10 21:19:18 +02:00
siikamiika
56f1f8384d use parseUrl in Backend 2020-02-10 00:09:29 +02:00
siikamiika
c16c38638b hide search input in native popups 2020-02-09 21:51:33 +02:00
toasted-nutbread
165959ef06 Move japanese.js into bg 2020-02-08 20:45:30 -05:00
siikamiika
8eac191c97 prevent unwanted wheel events on history bar 2020-02-05 14:19:48 +02:00
siikamiika
b8326138a3 add scannable tags for expression and reading 2020-02-02 13:57:30 +02:00
siikamiika
24690ceb7c fix glossary item selector 2020-02-02 13:44:08 +02:00
toasted-nutbread
6b9116ee49 Fix term tags not always being displayed 2020-02-01 21:00:27 -05:00
toasted-nutbread
09a1214f49 More fixes for Firefox 2020-02-01 21:00:07 -05:00
toasted-nutbread
0762f13a6d Workaround Firefox text selection bug 2020-02-01 21:00:07 -05:00
toasted-nutbread
db247a2837 Fix double clicking reason and glossary text 2020-02-01 21:00:07 -05:00
toasted-nutbread
dd700af0be Fix tag double click 2020-02-01 21:00:07 -05:00
siikamiika
05bb4aef71 partially revert be77544d77ba1f07955d76ebba1ab36286f0e52f 2020-01-28 02:34:05 +02:00
siikamiika
dd019ecf68 fix audio index in resultOutputMode = 'merge' 2020-01-27 23:24:34 +02:00
toasted-nutbread
54a48a7a9b Ensure textSource is cleaned up if it isn't used 2020-01-26 10:31:17 -05:00
siikamiika
7357eaf07a
Merge pull request #330 from siikamiika/query-parser-helper-disabling
Query parser helper disabling
2020-01-25 03:29:55 +02:00
toasted-nutbread
be645c2c98 Add support for dashes 2020-01-24 20:15:25 -05:00
toasted-nutbread
46e3d72641 Move where 'a' character offset is applied 2020-01-24 20:15:25 -05:00
toasted-nutbread
317bf35bc0 Replace and remove old character/string testing functions 2020-01-24 20:15:25 -05:00
toasted-nutbread
1fa8a59626 Create new character/string testing functions 2020-01-24 20:15:25 -05:00
toasted-nutbread
9b509d50a9 Add character range definitions 2020-01-24 20:15:25 -05:00
toasted-nutbread
3c17388ff8 Update constant naming convention 2020-01-24 20:15:25 -05:00
toasted-nutbread
b5015264f2 Include half width and full width characters as Japanese characters 2020-01-24 20:15:25 -05:00
toasted-nutbread
86d96a9036 Update detection of Japanese characters 2020-01-24 20:15:25 -05:00
toasted-nutbread
be2e6e0d93 Optimize jpIsKanji and jpIsKana 2020-01-24 20:15:25 -05:00
toasted-nutbread
73cc64fb5c Implement new translation options 2020-01-24 20:15:25 -05:00
siikamiika
fa4004437d query parser: add toggle for term spacing 2020-01-25 02:57:57 +02:00
siikamiika
aa5a044dad query parser: add reading mode 'none' 2020-01-25 02:56:14 +02:00
toasted-nutbread
2f994a7e5d Fix font size issue with action-button 2020-01-22 20:38:21 -05:00
toasted-nutbread
8ef57936d7 Add functionality for getting and observing zoom factor 2020-01-22 20:38:21 -05:00
toasted-nutbread
f662137481 Move body font settings to root 2020-01-22 20:38:21 -05:00
toasted-nutbread
26ea278c29 Improve debug logging 2020-01-21 19:08:56 -05:00