Commit Graph

17 Commits

Author SHA1 Message Date
hensm
3a488a6530 Misc popup refactoring/documentation 2022-04-17 11:17:24 +01:00
hensm
1da709eb5e Implement receiver selector whitelist suggestion banner 2022-04-17 04:56:16 +01:00
hensm
31757bb775 Fix framework API script load order 2022-04-15 23:48:47 +01:00
hensm
cef8f3a261 Misc fixes/improvements from WIP branches 2022-03-15 06:11:25 +00:00
hensm
41d8edcab4 prettier: Re-format .ts files 2021-08-31 08:28:23 +01:00
hensm
d478742c4b Switch to eslint and fix issues 2021-04-26 05:36:55 +01:00
hensm
7f84b90431 Enable strict mode for extension build 2020-01-23 00:58:33 +00:00
hensm
d4f71e7dcf Unify receiver selector launching and allow switching to app media type 2020-01-14 02:56:53 +00:00
hensm
b3b14f782d Remove obsolete restricted hosts 2019-09-30 19:28:56 +01:00
hensm
aa10be339b Refine page media type availability 2019-09-30 11:24:02 +01:00
hensm
e2eca07876 Fix unused locals and better receiver selector available media checking 2019-08-16 13:07:18 +01:00
hensm
fa966cac4e Simplify stringify util function 2019-08-16 07:36:14 +01: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
d0129f66b7 Fix __onGCastApiAvailable being called early 2019-03-21 14:37:36 +00:00
hensm
0449e3cdf3 TSLint compliance 2019-03-19 16:30:37 +00:00
hensm
410d6a267b Remove compat scripts and move API URL redirection to contentSetup 2019-03-14 09:42:00 +00:00
hensm
8cef999afb Convert ext lib to typescript 2019-02-27 16:46:09 +00:00