-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathasm-frames.html
More file actions
48 lines (36 loc) · 1.05 KB
/
asm-frames.html
File metadata and controls
48 lines (36 loc) · 1.05 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
<html>
<head>
<title>STEP Index</title>
<script src="sti_utils.js"> </script>
<script>
function init() {
var view_frame = window.view;
var ctl_frame = window.control;
var asm_frame = window.assembly;
if (!view_frame)
throw new Error ("No view frame");
ctl_frame.setViewer(view_frame);
view_frame.setup_page(asm_frame, parse_search(location.search),
function(view) {
view_frame.draw();
ctl_frame.syncForm();
});
}
function saveComplete(path) {
alert ("Saving state at" +path);
}
/* Needed to work-around a race condition in Chrome, where the frame sizes
* may not be initialized after onload (as the docs say it should)
*/
window.addEventListener("load", function() {setTimeout(init, 100);}, false);
</script>
</head>
<frameset rows="85, *" >
<frame name="control" src="asm-control.html" >
<frameset cols="30%, *">
<frame name="assembly" src="asm-tree.html">
<frame name="view" src="asm-view3d.html"
marginwidth="0" marginheight="0" scrolling="no">
</frameset>
</frameset>
</html>