yomichan/ext/bg
toasted-nutbread 5b96559df8
Error logging refactoring (#454)
* Create new logging methods on yomichan object

* Use new yomichan.logError instead of global logError

* Remove old logError

* Handle unhandledrejection events

* Add addEventListener stub

* Update log function

* Update error conversion to support more types

* Add log event

* Add API log function

* Log errors to the backend

* Make error/warning logs update the badge

* Clear log error indicator on extension button click

* Log correct URL on the background page

* Fix incorrect error conversion

* Remove unhandledrejection handling

Firefox doesn't support it properly.

* Remove unused argument type from log function

* Improve function name

* Change console.warn to yomichan.logWarning

* Move log forwarding initialization into main scripts
2020-04-26 16:55:25 -04:00
..
css Update license author field to broader to explicitly reflect that 2020-04-10 11:10:21 -07:00
data Add support for importing and storing media files 2020-04-18 21:31:09 -04:00
img file reorg 2017-03-04 12:27:05 -08:00
js Error logging refactoring (#454) 2020-04-26 16:55:25 -04:00
lang Change -teoru endings to be godan verbs 2019-10-16 19:11:45 -04:00
background.html Create background-main.js 2020-04-19 14:26:44 -04:00
context.html Rename context.js to context-main.js 2020-04-19 14:27:15 -04:00
guide.html Add favicons 2019-11-02 10:10:03 -04:00
legal.html Update license author field to broader to explicitly reflect that 2020-04-10 11:10:21 -07:00
query-parser-templates.html remove newline from template 2020-02-10 21:19:18 +02:00
search.html Rename search-frontend.js to search-main.js 2020-04-19 14:29:41 -04:00
settings-popup-preview.html Create popup-preview-frame-main.js 2020-04-19 14:29:43 -04:00
settings.html Update example 2020-04-11 19:00:01 -04:00