mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-11 07:27:42 +00:00
Refactor supporting recent changes to guacamole-common-js (removal of getLayers() from Guacamole.Client, changes to Guacamole.Client constructor prototype, and addition of Guacamole.Client.getDisplay()).
This commit is contained in:
@@ -103,10 +103,12 @@
|
||||
|
||||
// Instantiate client
|
||||
var guac = new Guacamole.Client(
|
||||
GuacamoleUI.display,
|
||||
new Guacamole.HTTPTunnel("tunnel")
|
||||
);
|
||||
|
||||
// Add client to UI
|
||||
GuacamoleUI.display.appendChild(guac.getDisplay());
|
||||
|
||||
// Tie UI to client
|
||||
GuacamoleUI.attach(guac);
|
||||
|
||||
|
Reference in New Issue
Block a user