From b9b034eba0d506bb09b43da183fefff71f98152e Mon Sep 17 00:00:00 2001 From: Michael Jumper Date: Tue, 5 Jul 2011 22:14:19 -0700 Subject: [PATCH] Switching to new namespace. --- guacamole/src/main/webapp/index.xhtml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/guacamole/src/main/webapp/index.xhtml b/guacamole/src/main/webapp/index.xhtml index ecf99309d..eaebf3a66 100644 --- a/guacamole/src/main/webapp/index.xhtml +++ b/guacamole/src/main/webapp/index.xhtml @@ -139,9 +139,9 @@ + "&password=" + encodeURIComponent(password.value) // Instantiate client - var guac = new GuacamoleClient( + var guac = new Guacamole.Client( display, - new GuacamoleHTTPTunnel("tunnel") + new Guacamole.HTTPTunnel("tunnel") ); try { @@ -265,14 +265,14 @@ }; // Mouse - var mouse = new GuacamoleMouse(display); + var mouse = new Guacamole.Mouse(display); mouse.onmousedown = mouse.onmouseup = mouse.onmousemove = function(mouseState) { guac.sendMouseState(mouseState); }; // Keyboard - var keyboard = new GuacamoleKeyboard(document); + var keyboard = new Guacamole.Keyboard(document); function disableKeyboard() { keyboard.onkeydown = null; @@ -367,7 +367,7 @@ }; // On-screen keyboard - var osKeyboard = new GuacamoleOnScreenKeyboard("layouts/en-us-qwerty.xml"); + var osKeyboard = new Guacamole.OnScreenKeyboard("layouts/en-us-qwerty.xml"); keyboardContainer.appendChild(osKeyboard); osKeyboard.setKeyPressedHandler(