mike-jumper commented on code in PR #751:
URL: https://github.com/apache/guacamole-client/pull/751#discussion_r957864320
##########
guacamole/src/main/frontend/src/app/settings/directives/guacSettingsPreferences.js:
##########
@@ -78,6 +101,26 @@
angular.module('settings').directive('guacSettingsPreferences', [function guacSe
*/
$scope.preferences = preferenceService.preferences;
+ /**
+ * All available user attributes, as a mapping of form name to form
+ * object. The form object contains a name, as well as a Map of
fields.
+ *
+ * The Map type is used here to maintain form/name uniqueness, as
well as
+ * insertion order, to ensure a consistent UI experience.
+ *
+ * @type Map<String, Object>
+ */
+ $scope.attributeMap = new Map();
Review Comment:
Yep, because it's not supported in IE10, which we have not dropped support
for. That said, I'm surprised that it doesn't get polyfilled during compilation
now that Closure Compiler is back.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]