mirror of
https://github.com/hensm/fx_cast.git
synced 2026-06-12 10:39:57 +00:00
Expose types via cast/media exports
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
"use strict";
|
||||
|
||||
import cast from "./cast";
|
||||
import * as cast from "./cast";
|
||||
|
||||
import { onMessage } from "./messageBridge";
|
||||
|
||||
@@ -35,8 +35,6 @@ onMessage(message => {
|
||||
case "shim:/initialized": {
|
||||
const bridgeInfo = message.data;
|
||||
|
||||
cast.isAvailable = true;
|
||||
|
||||
// Call page's API loaded function if defined
|
||||
const readyFunction = global.__onGCastApiAvailable;
|
||||
if (readyFunction && typeof readyFunction === "function") {
|
||||
|
||||
Reference in New Issue
Block a user