-
Notifications
You must be signed in to change notification settings - Fork 9
/
codemirror.html
45 lines (31 loc) · 1.37 KB
/
codemirror.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
<!doctype html>
<html>
<head>
<title>BRAID: Web Audio Instruments</title>
<!-- standard includes of nexusUI and jquery -->
<link rel="shortcut icon" href="info/images/favicon.png" type="image/png" />
<script type="text/javascript" src="libraries/jquery.js"></script>
<script type="text/javascript" src="libraries/jquery-ui-1.8.2.custom.min.js"></script>
<script type="text/javascript" src="libraries/gibber.lib.js"></script>
<script type="text/javascript" src="libraries/nexusUI.js"></script>
<!-- <script type="text/javascript" src="libraries/FileSaver.js"></script>
<script type="text/javascript" src="libraries/qrcode.min.js"></script> -->
<script src="libraries/codemirror.js"></script>
<link rel="stylesheet" href="libraries/codemirror.css">
<script src="libraries/mode/javascript/javascript.js"></script>
<!-- Make mobile display non-scalable and fitting the viewport window -->
<meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=no, minimal-ui" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
</head>
<body>
<textarea id="guiglobalaudio"></textarea>
<script>
var myCodeMirror = CodeMirror.fromTextArea(document.getElementById('guiglobalaudio'), {
styleActiveLine: true,
lineNumbers: true,
lineWrapping: true
});
</script>
</body>
</html>