Add in-line documentation to controllers introduced to support the About dialog. WTD-667.
28 lines
723 B
JavaScript
28 lines
723 B
JavaScript
/*global define*/
|
|
|
|
define(
|
|
[],
|
|
function () {
|
|
"use strict";
|
|
|
|
/**
|
|
* The LogoController provides functionality to the application
|
|
* logo in the bottom-right of the user interface.
|
|
* @constructor
|
|
* @param {OverlayService} overlayService the overlay service
|
|
*/
|
|
function LogoController(overlayService) {
|
|
return {
|
|
/**
|
|
* Display the About dialog.
|
|
* @memberof LogoController#
|
|
*/
|
|
showAboutDialog: function () {
|
|
overlayService.createOverlay("overlay-about");
|
|
}
|
|
};
|
|
}
|
|
|
|
return LogoController;
|
|
}
|
|
); |