Move credentials into the drivers.

The session id, or whether the session is currently active on the
server, are better handled in the drivers than in termemu.js.
This commit is contained in:
John "Elwin" Edwards 2012-06-19 13:40:30 -07:00
parent ceed48eee5
commit 553f07360c
3 changed files with 29 additions and 28 deletions

View file

@ -53,8 +53,6 @@ function Cursor(src) {
// An object representing the terminal emulator.
var termemu = {
sessid: null, // Session key assigned by the server
alive: false,
/* Some elements of the page. */
inwrap: null, // A non-table div wrapping the screen
view: null, // The div holding the terminal screen