-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathopt-office-mix.html
More file actions
139 lines (103 loc) · 5.17 KB
/
opt-office-mix.html
File metadata and controls
139 lines (103 loc) · 5.17 KB
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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!--
Online Python Tutor
https://github.com/pgbovine/OnlinePythonTutor/
Copyright (C) Philip J. Guo (philip@pgbovine.net)
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
The above copyright notice and this permission notice shall be included
in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-->
<head>
<title>Online Python Tutor - Visualize program execution</title>
<meta http-equiv="Content-type" content="text/html; charset=UTF-8"/>
<!-- requirements for pytutor.js -->
<script type="text/javascript" src="js/d3.v2.min.js"></script>
<script type="text/javascript" src="js/jquery-1.8.2.min.js"></script>
<script type="text/javascript" src="js/jquery.ba-bbq.min.js"></script> <!-- for handling back button and URL hashes -->
<script type="text/javascript" src="js/jquery.ba-dotimeout.min.js"></script> <!-- for event debouncing -->
<script type="text/javascript" src="js/jquery.jsPlumb-1.3.10-all-min.js "></script> <!-- for rendering SVG connectors
DO NOT UPGRADE ABOVE 1.3.10 OR ELSE BREAKAGE WILL OCCUR -->
<script type="text/javascript" src="js/diff_match_patch.js"></script>
<script type="text/javascript" src="js/jquery-ui-1.8.24.custom.min.js"></script> <!-- for sliders and other UI elements -->
<link type="text/css" href="css/ui-lightness/jquery-ui-1.8.24.custom.css" rel="stylesheet" />
<script type="text/javascript" src="js/pytutor.js"></script>
<link rel="stylesheet" href="css/pytutor.css"/>
<!-- requirements for opt-frontend.js -->
<!-- codemirror.net online code editor -->
<script type="text/javascript" src="js/codemirror/codemirror.js"></script>
<link type="text/css" href="css/codemirror.css" rel="stylesheet" />
<script type="text/javascript" src="js/codemirror/python.js"></script>
<!-- Ace online code editor -->
<script type="text/javascript" src="js/ace/src-min-noconflict/ace.js" charset="utf-8"></script>
<script type="text/javascript" src="js/opt-frontend-common.js"></script>
<script type="text/javascript" src="js/opt-office-mix.js"></script>
<link rel="stylesheet" href="css/opt-frontend.css"/>
<!-- for Labs.js -->
<!-- let's see if jQuery 1.8.2 works instead of their recommended version of 1.9.1 -->
<!-- <script src="//ajax.aspnetcdn.com/ajax/jQuery/jquery-1.9.1.min.js"></script> -->
<script src="https://appsforoffice.microsoft.com/lib/1.1/hosted/office.js" type="text/javascript"></script>
<!-- From: https://labsjs.blob.core.windows.net/sdk/LabsJS-1.0.4/labs.html
"For publishing your app you must link to the file on the CDN." -->
<script src="https://az592748.vo.msecnd.net/sdk/LabsJS-1.0.4/labs-1.0.4.js"></script>
</head>
<body>
<div id="loadingPane" style="display: none; font-size: 18px; color: #e93f34;">
</div>
<div id="pyInputPane">
<div id="codeInputWarnings">Write
<select id="pythonVersionSelector">
<option value="2">Python 2.7</option>
<option value="3">Python 3.3</option>
</select>
code here:</div>
<div id="codeInputPane"></div> <!-- populate with a CodeMirror instance -->
<div id="frontendErrorOutput"></div>
<!--
<p style="margin-top: 10px; line-height: 200%;">
Options:
<select id="cumulativeModeSelector">
<option value="false">hide exited function frames</option>
<option value="true">show exited function frames</option>
</select>
<select id="heapPrimitivesSelector">
<option value="false">inline primitives and nested objects</option>
<option value="true">render all objects on the heap</option>
</select>
<select id="textualMemoryLabelsSelector">
<option value="false">draw references using arrows</option>
<option value="true">use text labels for references</option>
</select>
</p>
-->
</div>
<div id="pyOutputPane">
</div>
<div id="footer">
<p>
<button id="toggleModebtn" style="font-size: 14pt;">???</button>
</p>
<p>
<a href="http://pythontutor.com/" target="_blank">Online Python Tutor</a> supports
Python 2.7 and 3.3 with limited module imports and no file I/O.
</p>
<p style="margin-top: 8px;">
Copyright © <a href="http://www.pgbovine.net/" target="_blank">Philip Guo</a>. All rights reserved.
Read <a href="support-and-privacy.html">Privacy and Terms of Use information</a>.
</p>
</div>
</body>
</html>