Commit Graph

9 Commits

Author SHA1 Message Date
hensm
d478742c4b Switch to eslint and fix issues 2021-04-26 05:36:55 +01:00
hensm
bdfd67b892 Fix YouTube casting 2020-01-23 17:10:29 +00:00
hensm
7f84b90431 Enable strict mode for extension build 2020-01-23 00:58:33 +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
98656874f1 Fix webcomponents polyfill loading 2019-07-02 05:08:49 +01:00
hensm
0a9af09419 Clean up shim initialization 2019-06-19 01:39:19 +01:00
hensm
d0129f66b7 Fix __onGCastApiAvailable being called early 2019-03-21 14:37:36 +00:00
hensm
2a327573da Add webcomponents polyfill and load official framework API script 2019-03-20 20:26:30 +00:00
Matt Hensman
f1125061d5 Convert shim to Typescript (#32) 2019-03-12 05:51:43 +00:00