yomichan/ext/mixed/js
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
..
api.js Error logging refactoring (#454) 2020-04-26 16:55:25 -04:00
audio-system.js Await and handle errors from audio.play() 2020-04-18 14:23:34 -04:00
core.js Error logging refactoring (#454) 2020-04-26 16:55:25 -04:00
display-context.js Update license author field to broader to explicitly reflect that 2020-04-10 11:10:21 -07:00
display-generator.js Add support for displaying images 2020-04-18 21:32:35 -04:00
display.js Update Popup and DisplayFloat optionsContext from Frontend (#464) 2020-04-26 22:33:50 +03:00
dom.js use getFullscreenElement to check fullscreen 2020-04-18 23:28:00 +03:00
dynamic-loader-sentinel.js Create dynamic script/CSS loader utility 2020-04-21 21:16:26 -04:00
dynamic-loader.js Remove sentinel script node after load 2020-04-22 17:48:42 -04:00
japanese.js Fix high pitch calculation 2020-04-22 21:04:18 -04:00
media-loader.js Change some more variables using 'source' instead of 'content' 2020-04-19 10:57:23 -04:00
object-property-accessor.js Update license author field to broader to explicitly reflect that 2020-04-10 11:10:21 -07:00
scroll.js Update license author field to broader to explicitly reflect that 2020-04-10 11:10:21 -07:00
template-handler.js Update license author field to broader to explicitly reflect that 2020-04-10 11:10:21 -07:00
text-scanner.js Error logging refactoring (#454) 2020-04-26 16:55:25 -04:00
timer.js Update license author field to broader to explicitly reflect that 2020-04-10 11:10:21 -07:00