git ssb

0+

cel / pull-postmsg



Tree: d0d1809cb44187fcae6533cab233395f70371e7f

Files: d0d1809cb44187fcae6533cab233395f70371e7f / example / index.html

468 bytesRaw
1<!doctype html>
2<html>
3 <head>
4 <meta charset=utf-8>
5 </head>
6 <body>
7 <iframe id="frame" src="inner.html"></iframe>
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 outer', 'a', 'b', 'c']),
18 Postmsg(),
19 pull.drain(print, print)
20 )
21 </script>
22 </body>
23</html>
24

Built with git-ssb-web