GUACAMOLE-1293: Correct and add missing comments for accuracy and clarity.

This commit is contained in:
Virtually Nick
2022-07-25 14:21:12 -04:00
parent 871ffe7288
commit 773a03a7d9
2 changed files with 5 additions and 2 deletions

View File

@@ -41,6 +41,7 @@ angular.module('client').directive('guacClientMessage', [function guacClientMess
controller: ['$scope', '$injector', '$element',
function guacClientMessageController($scope, $injector, $element) {
// Required types
const ManagedClientMessage = $injector.get('ManagedClientMessage');
/**
@@ -61,7 +62,9 @@ angular.module('client').directive('guacClientMessage', [function guacClientMess
/**
* Returns a set of key/value object pairs that represent the
* arguments provided as part of the message in the form
* ARGS[0] = value.
* ARGS[0] = value. Guacamole's translation system relies on
* the arguments being available in this format in order to be able
* to handle substituting values for an arbitrary list of arguments.
*
* @returns {Object}
*/