| 123456789101112131415161718192021 |
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="utf-8">
- </head>
- <body>
- <script type="text/javascript" src="bundle.js" charset="utf-8"></script>
- <div id="foo" style="width: 100%; height: 100%; min-width: 600px; min-height: 700px;"></div>
- <!-- Some minimal JS for loading sample_master_state.json. In practice,
- clients will inline (codegen) the master trace JSON using IPython. -->
- <script type="text/javascript">
- var xhr = new XMLHttpRequest();
- xhr.open('GET', 'sample_master_state.json');
- xhr.onload = function() {
- visualizeToDiv(JSON.parse(xhr.responseText), "foo");
- };
- xhr.send();
- </script>
- </body>
- </html>
|