GUAC-605: Allow non-root scope for client and tunnel factories.

This commit is contained in:
Michael Jumper
2014-11-14 15:08:34 -08:00
parent 777761a616
commit 1a69a12c61
3 changed files with 14 additions and 4 deletions

View File

@@ -260,8 +260,8 @@ angular.module('client').directive('guacClient', [function guacClient() {
return;
// Get new client instance
var tunnel = guacTunnelFactory.getInstance();
client = guacClientFactory.getInstance(tunnel);
var tunnel = guacTunnelFactory.getInstance($scope);
client = guacClientFactory.getInstance(tunnel, $scope);
// Init display
display = client.getDisplay();