This repository has been archived by the owner on May 2, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
121 lines (100 loc) · 4.49 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
<html>
<head>
<title>Turbo Impress</title>
<!-- jQuery UI -->
<link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.10.0/themes/blitzer/jquery-ui.css" rel="stylesheet" />
<!-- Impress.js -->
<link href="http://fonts.googleapis.com/css?family=Open+Sans:regular,semibold,italic,italicsemibold|PT+Sans:400,700,400italic,700italic|PT+Serif:400,700,400italic,700italic" rel="stylesheet" />
<link href="/libs/jmpress/impress-demo.css" rel="stylesheet" />
<!-- jQuery layout.UI -->
<link href="/libs/layout/layout-default-latest.css" rel="stylesheet" />
<!-- jqConsole -->
<link href="/libs/jqconsole/jqconsole.css" rel="stylesheet" />
<!-- Twitter Bootstrap -->
<link href="http://netdna.bootstrapcdn.com/twitter-bootstrap/2.3.1/css/bootstrap-combined.min.css" rel="stylesheet">
<!-- Fancybox -->
<link rel="stylesheet" href="/libs/fancybox/jquery.fancybox.css" type="text/css" media="screen" />
<!-- Custom -->
<link href="css/custom.css" rel="stylesheet" />
</head>
<body>
<div id="body">
<!-- Transparent viewport div for jmpress -->
<div class="ui-layout-center"></div>
<!-- Server/HUD Pane -->
<div class="ui-layout-north">
<form id="networking-form" class="form-inline">
<input type="text" class="input" id="networking-settings" placeholder="server:port">
<label class="checkbox">
<input id="isPresenter" type="checkbox"> Presenter?
</label>
<button id="networking-launch" class="btn">Launch Server</button>
</form>
</div>
<!-- REPL/Ace Pane -->
<div class="ui-layout-south">
<div id="editor">hello_to = ^(name){ "Hello "+name }
repeat {times: 3} ^{ print hello_to {name: "John"} }
numbers = [1,2,2,3,1].unique()
print numbers
numbers.sort().forEach ^(number){ print "Number: "+number }
Cat = {age: 5, name: "Zelda"}
Dog = create Cat, {name: "Lassie"}
print Cat.name, 'is', Cat.age, 'years old'
print Dog.name, 'is', Dog.age, 'years old'
Cat.age = 9
print Cat.name, 'is', Cat.age, 'years old'
print Dog.name, 'is', Dog.age, 'years old'</div>
<div id="repl">
</div>
<!-- The little button for repl execution -->
<div id="repl-exec">
<img src="img/play.png" />
</div>
</div>
<!-- Unused east/west panes -->
<div class="ui-layout-east">East</div>
<div class="ui-layout-west">West</div>
</div>
<!-- Slideshow -->
<div id="impress" data-template="auto">
<div id="start" class="step">
</div>
</div>
<!-- jQuery, jq UI, a compatability layer and helpers -->
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.js"></script>
<script src="http://code.jquery.com/jquery-migrate-1.1.1.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.9.2/jquery-ui.js"></script>
<script src="/js/helpers.js"></script>
<script src="/js/init/config.js"></script>
<!-- Initialization/Setup -->
<script src="/js/init/move.js"></script>
<script src="/js/abstractions/slide.js"></script>
<script src="/js/abstractions/presentation.js"></script>
<script>
var Remote, editor, layout, repl, slides, remote, content, presenter, server;
var first_insert = true;
</script>
<!-- Auxiliary Components -->
<!-- Fancybox -->
<script type="text/javascript" src="/libs/fancybox/jquery.fancybox.pack.js"></script>
<script type="text/javascript" src="/libs/fancybox/helpers/jquery.fancybox-media.js"></script>
<!-- jmpress (slideshow) -->
<script src="/libs/jmpress/jmpress.js"></script>
<!-- jqConsole (REPL) -->
<script src="/libs/jqconsole/jqconsole.js" type="text/javascript" charset="utf-8"></script>
<!-- jquery layout (panes) -->
<script type="text/javascript" src="/libs/layout/jquery.layout.js"></script>
<!-- Ace Editor -->
<script src="http://d1n0x3qji82z53.cloudfront.net/src-min-noconflict/ace.js" type="text/javascript" charset="utf-8"></script>
<!-- Client side sharejs libraries because I was unable to use
both the server and client nodejs libraries in a single program -->
<script src="/libs/sharejs/bcsocket.js"></script>
<script src="/libs/sharejs/share.js"></script>
<script src="/libs/sharejs/json.js"></script>
<!-- TODO: Refactor this -->
<script type="text/javascript" src="creator.js"></script>
<script type="text/javascript" src="presenter.js"></script>
<script type="text/javascript" src="main.js"></script>
</body>
</html>