-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
45 lines (42 loc) · 1.66 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
<!doctype html>
<html>
<head>
<title>RiftSketch</title>
<meta charset="utf-8" />
<!-- Include skewer.js as a script -->
<script src="http://localhost:8080/skewer"></script>
<link
href='//fonts.googleapis.com/css?family=Inconsolata'
rel='stylesheet' type='text/css' />
<link
rel="stylesheet"
href="RiftSketchSandBox/bower_components/bootstrap/dist/css/bootstrap.css" />
<link rel="RiftSketchSandBox/stylesheet/less" href="css/index.less" />
<script src="RiftSketchSandBox/lib/less/less-1.3.3.min.js"></script>
</head>
<body
ng-class="{'modal-open': (!hasOverridenUnsupported && seemsUnsupported)}">
<div id="container" ng-class="{'not-fullscreen': !isInfullscreen}">
<canvas id="viewer"></canvas>
<textarea
class="mousetrap" id="sketchContents" spellcheck="false">
</textarea>
<textarea
class="mousetrap" id="scratch" spellcheck="false" onkeypress="
/*function my_func(e) {
console.log('html keyup: e=' + e);
var code = window.event.keyCode;console.log('html keyup handler: code=' + code)};
my_func(this); */
var e = event;
console.log('html keyup: event.which=' + event.which);
if (e.which == 85 && e.altKey && e.shiftKey) {
console.log('you pressed alt-shift-u');
$('#sketchContents').focus();
};
">
</textarea>
<video id="monitor" autoplay></video>
</div>
<script data-main="RiftSketchSandBox/js/index.js" src="RiftSketchSandBox/bower_components/requirejs-bower/require.js"></script>
</body>
</html>