7 Commits

Author SHA1 Message Date
hensm
07f2607869 Fix webpack production builds 2021-02-23 02:33:35 +00:00
Matt Hensman
ba8c28bf39 Restructure background script (#70)
Splits some background script functionality into separate modules:
 - Receiver selector handling is moved to ./SelectorManager.
 - Status bridge handling is moved to ./StatusManager.
 - Menu creation and updates are handled in ./createMenus.
 - Shim creation is handled in ./createShim.

TypedEventTarget allows EventTarget-derived classes to export typed events.

Options type definition is moved to ./lib/options, module assumes more responsibility for update handling and provides a "changed" event.

Private cast._requestSession method allows bypassing receiver selector.
2019-07-26 00:09:51 +01:00
hensm
0b494fa908 Remove source maps from production builds 2019-05-02 06:17:31 +01:00
hensm
40d19da638 Fix default CSP 2019-04-09 01:24:27 +01:00
hensm
a6ebb4fd22 Misc formatting changes 2019-04-09 01:01:23 +01:00
hensm
98d0e7acce Add author info to extension manifest 2019-03-12 11:25:59 +00:00
hensm
2014566cc4 Reorganize ext build scripts and add linting 2019-02-26 14:08:17 +00:00