Files: 0e406483fa15d28f0f5eda0c569b37021fa66136 / example / inner.html
435 bytesRaw
1 | |
2 | <html> |
3 | <head> |
4 | <meta charset=utf-8> |
5 | </head> |
6 | <body> |
7 | inner |
8 | <pre id="out"></pre> |
9 | |
10 | <script src="bundle.js"></script> |
11 | <script> |
12 | function print(str) { |
13 | document.getElementById('out').appendChild(document.createTextNode(str + '\n')) |
14 | } |
15 | |
16 | pull( |
17 | pull.values(['from inner', 1, 2, 3]), |
18 | Postmsg(window.parent), |
19 | pull.drain(print, print) |
20 | ) |
21 | </script> |
22 | </body> |
23 | </html> |
24 |
Built with git-ssb-web