-
Notifications
You must be signed in to change notification settings - Fork 1
/
popup.html
40 lines (35 loc) · 993 Bytes
/
popup.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<html>
<head>
<meta charset="UTF-8">
<title>Chat Room</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<div class="chat-container">
</div>
<div class="chat-input">
<input id="submit-msg">
<button id="btn-msg">Submit</button>
</div>
</body>
<script src="./node_modules/expect/umd/expect.min.js"></script>
<script src="./node_modules/mocha/mocha.js"></script>
<script src="./test/polyfill.js"></script>
<script src='./client/main.js'></script>
<script>
// If called from Mocha Phantom-JS on the command line then add the test scripts
// to the end of the document.
if (window.callPhantom) {
mocha.setup('bdd')
addScript('./test/online-calendar-test.js');
addScript('./test/online-chatroom-test.js');
addScript('./test/runMocha.js');
}
function addScript(path) {
var js = document.createElement('script');
js.type = 'text/javascript';
js.src = path;
document.body.appendChild(js);
}
</script>
</html>