aboutsummaryrefslogtreecommitdiffhomepage
path: root/index.html
blob: 7a15978c15d2d3e85ddad513f7a62842876301e3 (plain)
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
<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()
      })

      // 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>
  </body>
</html>