We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c3c7e13 commit 64ac910Copy full SHA for 64ac910
demos/demo-minimal-js/index.js
@@ -1,3 +1,4 @@
1
+/* eslint-disable no-use-before-define */
2
/* eslint-disable no-undef */
3
import { v4 as uuidv4 } from "uuid";
4
const CallingExtensions = window.default;
@@ -47,10 +48,10 @@ const USER_AVAILABLE = "useravailable";
47
48
const USER_UNAVAILABLE = "userunavailable";
49
50
const eventHandlers = {
- [INCOMING_CALL]: "incomingCall",
51
- [ANSWER_CALL]: "answerCall",
52
- [END_CALL]: "endCall",
53
- [COMPLETE_CALL]: "completeCall",
+ [INCOMING_CALL]: incomingCall,
+ [ANSWER_CALL]: answerCall,
+ [END_CALL]: endCall,
54
+ [COMPLETE_CALL]: completeCall,
55
};
56
57
function disableButtons(ids) {
0 commit comments