Mercurial > hg > rlgwebd
comparison shterm.js @ 1:9bef0941c6dd
Add a few comments.
author | John "Elwin" Edwards <elwin@sdf.org> |
---|---|
date | Sun, 06 May 2012 09:04:14 -0700 |
parents | bd412f63ce0d |
children | ee22eb9ab009 |
comparison
equal
deleted
inserted
replaced
0:bd412f63ce0d | 1:9bef0941c6dd |
---|---|
1 /* shterm.js: browser-side JavaScript to handle I/O for termemu.js when it | |
2 * is running a shell via the webtty.js server. | |
3 */ | |
4 | |
1 // A state machine that keeps track of polling the server. | 5 // A state machine that keeps track of polling the server. |
2 var ajaxstate = { | 6 var ajaxstate = { |
3 state: 0, | 7 state: 0, |
4 timerID: null, | 8 timerID: null, |
5 clear: function () { | 9 clear: function () { |