GT2/GT2-iOS/node_modules/winchan/test/stress/child.html

29 lines
500 B
HTML

<!DOCTYPE html>
<html>
<head>
</head>
<body>
<p>hi! This is a dialog that is was opened by <b><span id="who">...</span></b>.</p>
<p>Here are its parameters:</p>
<pre>
</pre>
</body>
<script src="../../winchan.js"></script>
<script src="jquery.js"></script>
<script>
WinChan.onOpen(function(origin, r, cb) {
$("#who").text(origin);
$("pre").text(JSON.stringify(r, null, " "));
cb({
thanks: 'for',
"calling": true,
timestamp: new Date().toString()
});
});
</script>
</html>