forked from hcientist/OnlinePythonTutor
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpytutor-c-embed.html
29 lines (22 loc) · 993 Bytes
/
pytutor-c-embed.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
<!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">
<!--
Python Tutor: https://github.com/pgbovine/OnlinePythonTutor/
Copyright (C) Philip Guo ([email protected])
LICENSE: https://github.com/pgbovine/OnlinePythonTutor/blob/master/LICENSE.txt
-->
<head>
<title>Online Python Tutor v5 embedding demo</title>
<script type="text/javascript" src="build/pytutor-embed.bundle.js?dfffdf0c98" charset="utf-8"></script>
</head>
<body style="background-color: white;">
<div class="pytutorVisualizer" id="listSumDiv"
data-tracefile="pytutor-embed-demo/cse12-c-test.json"
data-params='{"embeddedMode": false, "lang": "c", "jumpToEnd": true}'>
</div>
<!-- Step 3: Finally, put this one JS call at the very bottom so it will load after all divs appear -->
<script type="text/javascript">
createAllVisualizersFromHtmlAttrs();
</script>
</body>
</html>