forked from hundredrabbits/Orca
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
48 lines (44 loc) · 2.55 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
48
<html>
<head>
<meta charset='utf-8'>
<link rel="stylesheet" type="text/css" href="desktop/sources/links/main.css"/>
<link rel="manifest" href="manifest.json">
<link rel="icon" href="favicon.ico">
<script type="text/javascript">function require(name){ console.warn('Failed to require '+name) }</script>
<script type="text/javascript" src="desktop/sources/scripts/lib/acels.js"></script>
<script type="text/javascript" src="desktop/sources/scripts/lib/theme.js"></script>
<script type="text/javascript" src="desktop/sources/scripts/lib/history.js"></script>
<script type="text/javascript" src="desktop/sources/scripts/lib/source.js"></script>
<script type="text/javascript" src="desktop/sources/scripts/core/library.js"></script>
<script type="text/javascript" src="desktop/sources/scripts/core/io.js"></script>
<script type="text/javascript" src="desktop/sources/scripts/core/operator.js"></script>
<script type="text/javascript" src="desktop/sources/scripts/core/orca.js"></script>
<script type="text/javascript" src="desktop/sources/scripts/core/transpose.js"></script>
<script type="text/javascript" src="desktop/sources/scripts/core/io/cc.js"></script>
<script type="text/javascript" src="desktop/sources/scripts/core/io/midi.js"></script>
<script type="text/javascript" src="desktop/sources/scripts/core/io/mono.js"></script>
<script type="text/javascript" src="desktop/sources/scripts/core/io/osc.js"></script>
<script type="text/javascript" src="desktop/sources/scripts/core/io/udp.js"></script>
<script type="text/javascript" src="desktop/sources/scripts/clock.js"></script>
<script type="text/javascript" src="desktop/sources/scripts/commander.js"></script>
<script type="text/javascript" src="desktop/sources/scripts/cursor.js"></script>
<script type="text/javascript" src="desktop/sources/scripts/client.js"></script>
<title>Orca</title>
</head>
<body>
<script>
'use strict'
const client = new Client()
client.install(document.body)
window.addEventListener('load', () => {
client.start()
window.orcaClient = client;
})
// Register PWA Service Worker
if (location.protocol.substr(0,4) !== ('file') && 'serviceWorker' in navigator) {
try { navigator.serviceWorker.register('sw.js') } catch (err) { console.warn(err) }
}
</script>
<noscript>Your browser must have Javascript enabled to use Orca, <br />try running the <a href='https://git.sr.ht/~rabbits/orca'>terminal version</a> instead.</noscript>
</body>
</html>