Commit 29e642c5 by Kim Peace

Merge branch 'feature/host_change' into debug/console_logs

# Conflicts:
#	public_new/js/views/collaboration/share-event-listener.js
parents 3aa50939 af2f2fee
...@@ -19,12 +19,18 @@ CoviewBridge.bindReadyEvent = function () { ...@@ -19,12 +19,18 @@ CoviewBridge.bindReadyEvent = function () {
CoviewBridge.bindFermiWebSocketOpenned = function () { CoviewBridge.bindFermiWebSocketOpenned = function () {
console.log("peacekim:: CoviewBridge.bindFermiWebSocketOpenned"); console.log("peacekim:: CoviewBridge.bindFermiWebSocketOpenned");
wc_api.addEventListener("open", async function (event) { try {
console.log( wc_api.addEventListener("open", async function (event) {
"peacekim:: CoviewBridge.bindFermiWebSocketOpenned wc_api.addEventListener open" console.log(
); "peacekim:: CoviewBridge.bindFermiWebSocketOpenned wc_api.addEventListener open"
FermiWebSocketMessageHandler.bindWebSocketMessage(); );
}); FermiWebSocketMessageHandler.bindWebSocketMessage();
});
} catch (err) {
setTimeout(() => {
CoviewBridge.bindFermiWebSocketOpenned();
}, 1000);
}
}; };
CoviewBridge.bindStartEvent = function () { CoviewBridge.bindStartEvent = function () {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment