-
Notifications
You must be signed in to change notification settings - Fork 22
/
index.html
47 lines (46 loc) · 1.57 KB
/
index.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
41
42
43
44
45
46
47
<!DOCTYPE html>
<html>
<head>
<title>Join</title>
<script>
// self.joinServer = "http://localhost:8080/";
self.joinServer = "https://joinjoaomgcd.appspot.com/";
</script>
<meta charset="utf-8"/>
<meta name="description" content="Bring your devices together">
<meta name="viewport" content="width=device-width, height=device-height,initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<script src="./v2/util.js"></script>
<script>
const errorHandler = (e) => {
console.error("Caught unexpected error", e);
var message = e;
if(!Util.isString(e)){
message = e.message;
}
message = `Unexpected Error: ${message}`;
if(e.filename){
message = `${message} in file ${e.filename}`;
}
if(e.lineno){
message = `${message} at line ${e.lineno}`;
}
if(e.stack){
message = `${message}<br/><br/>Trace:<br/>${Util.replaceAll(e.stack,"\n","<br/>")}`;
}
alert(message);
}
window.onerror = errorHandler;
window.onunhandledrejection = errorPromise=>errorPromise.promise.catch(errorHandler);
</script>
<script src="./v2/gcm/gcmbase.js"></script>
<script src="./v2/dexie.js"></script>
<script src="./v2/api/fcmLegacyToV1Converter.js"></script>
<script type="module">
import { AppDashboard } from './appdashboard.js';
const app = new AppDashboard(document.querySelector("body")).load();
</script>
</head>
<body class="panel">
Loading Join...
</body>
</html>