Parent Directory | Revision Log | Patch
revision 2109 by torben, Tue Feb 11 09:32:16 2014 UTC | revision 2110 by torben, Tue Feb 11 09:50:30 2014 UTC | |
---|---|---|
# | Line 55 $( function() { | Line 55 $( function() { |
55 | socket.onclose = function(){ | socket.onclose = function(){ |
56 | var now = new Date().getTime(); | var now = new Date().getTime(); |
57 | var elapsed = now - actTime; | var elapsed = now - actTime; |
58 | elapsed = elapsed / 1000; | |
59 | ||
60 | append('Connection closed after ' + elapsed + ' seconds of inactivity'); | append('Connection closed after ' + elapsed + ' seconds of inactivity'); |
61 | } | } |
# | Line 89 $( function() { | Line 90 $( function() { |
90 | ||
91 | ||
92 | </body> | </body> |
</html> | ||
93 | </html> |
|
ViewVC Help | |
Powered by ViewVC 1.1.20 |