toasted-nutbread
217bd36abc
Use consistent timeout for both setContentTerms and setContentKanji
2020-02-15 20:36:46 -05:00
toasted-nutbread
c5cbf99e89
Use promiseTimeout instead of delay
2020-02-15 20:35:51 -05:00
toasted-nutbread
496d2599ea
Move error handling for apiDefinitionsAddable
2020-02-15 20:33:20 -05:00
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
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
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
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
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
aa5a044dad
query parser: add reading mode 'none'
2020-01-25 02:56:14 +02:00
toasted-nutbread
8ef57936d7
Add functionality for getting and observing zoom factor
2020-01-22 20:38:21 -05:00
toasted-nutbread
26ea278c29
Improve debug logging
2020-01-21 19:08:56 -05:00
siikamiika
1fd568ab8e
fix term reason selector
2020-01-19 03:04:45 +02:00
toasted-nutbread
9abfd7acde
Always show actions when there is only a single term result
2020-01-16 22:39:26 -05:00
toasted-nutbread
6c344b2740
Fix incorrect selector
2020-01-16 22:39:26 -05:00
toasted-nutbread
d4296a34cc
Fix scroll position when header is visible
2020-01-16 22:39:26 -05:00
toasted-nutbread
7686e56c00
Move display templates into a single file
2020-01-16 22:39:26 -05:00