summaryrefslogtreecommitdiff
path: root/deps/wse/priv/raphael.html
blob: ee1823789e7397a597f546a1a5fdd556a7d812c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<html>
<head>
<title>Raphael demo page</title>
<script src='ej.js'></script>
<script src='wse.js'></script>
<script>

window.onload = function() {
   if (Wse.open("ws://"+(location.hostname||"localhost")+":1234/websession")) {
      Wse.start('wse_raphael_demo', 'run', ["i1"]);
   }
   else
     alert("WebSockets not supported");
};

</script>
</head>
<body style="background: #333">
<div id="i1" width=640 height=480></div>
</body>
</html>