|
1 | 1 | <!DOCTYPE html> |
2 | 2 | <html> |
| 3 | + <head> |
| 4 | + <meta charset="utf-8" /> |
| 5 | + <meta http-equiv="X-UA-Compatible" content="IE=edge" /> |
| 6 | + <title>Sendbird migration example</title> |
| 7 | + <meta name="description" content="" /> |
| 8 | + <meta name="viewport" content="width=device-width, initial-scale=1" /> |
| 9 | + </head> |
3 | 10 |
|
4 | | -<head> |
5 | | - <meta charset="utf-8" /> |
6 | | - <meta http-equiv="X-UA-Compatible" content="IE=edge" /> |
7 | | - <title>TalkJS Node JS Integration</title> |
8 | | - <meta name="description" content="" /> |
9 | | - <meta name="viewport" content="width=device-width, initial-scale=1" /> |
10 | | -</head> |
11 | | - |
12 | | -<body> |
13 | | - <script src="script.js" async defer></script> |
14 | | - <script> |
15 | | - (function (t, a, l, k, j, s) { |
16 | | - s = a.createElement("script"); |
17 | | - s.async = 1; |
18 | | - s.src = "https://cdn.talkjs.com/talk.js"; |
19 | | - a.head.appendChild(s); |
20 | | - k = t.Promise; |
21 | | - t.Talk = { |
22 | | - v: 3, |
23 | | - ready: { |
24 | | - then: function (f) { |
25 | | - if (k) |
26 | | - return new k(function (r, e) { |
27 | | - l.push([f, r, e]); |
28 | | - }); |
29 | | - l.push([f]); |
30 | | - }, |
31 | | - catch: function () { |
32 | | - return k && new k(); |
| 11 | + <body> |
| 12 | + <script src="script.js" async defer></script> |
| 13 | + <script> |
| 14 | + (function (t, a, l, k, j, s) { |
| 15 | + s = a.createElement("script"); |
| 16 | + s.async = 1; |
| 17 | + s.src = "https://cdn.talkjs.com/talk.js"; |
| 18 | + a.head.appendChild(s); |
| 19 | + k = t.Promise; |
| 20 | + t.Talk = { |
| 21 | + v: 3, |
| 22 | + ready: { |
| 23 | + then: function (f) { |
| 24 | + if (k) |
| 25 | + return new k(function (r, e) { |
| 26 | + l.push([f, r, e]); |
| 27 | + }); |
| 28 | + l.push([f]); |
| 29 | + }, |
| 30 | + catch: function () { |
| 31 | + return k && new k(); |
| 32 | + }, |
| 33 | + c: l, |
33 | 34 | }, |
34 | | - c: l, |
35 | | - }, |
36 | | - }; |
37 | | - })(window, document, []); |
38 | | - </script> |
39 | | - <!-- container element in which TalkJS will display a chat UI --> |
40 | | - <div id="talkjs-container" style="width: 90%; margin: 30px; height: 700px"> |
41 | | - </div> |
42 | | -</body> |
43 | | - |
| 35 | + }; |
| 36 | + })(window, document, []); |
| 37 | + </script> |
| 38 | + <!-- container element in which TalkJS will display a chat UI --> |
| 39 | + <div |
| 40 | + id="talkjs-container" |
| 41 | + style="width: 90%; margin: 30px; height: 600px" |
| 42 | + ></div> |
| 43 | + </body> |
44 | 44 | </html> |
0 commit comments