blob: 2ea0e0b1a08a1fd279a5458a80a76bc8e1a0d0b7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
<html>
<head>
<title>Animated fish demo</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.enable_console_output(true);
Wse.start('wse_fish_demo', 'run', ["myid"]);
}
}
</script>
</head>
<body>
<div id="myid"></div>
</body>
</html>
|