[Code Style] Use prototypes in About bundle

WTD-1482.
This commit is contained in:
Victor Woeltjen
2015-08-10 10:19:02 -07:00
parent 0b9b936368
commit 78146d97f8
3 changed files with 41 additions and 43 deletions

View File

@ -34,18 +34,18 @@ define(
* @param {OverlayService} overlayService the overlay service
*/
function LogoController(overlayService) {
return {
/**
* Display the About dialog.
* @memberof LogoController#
* @memberof platform/commonUI/about.LogoController#
*/
showAboutDialog: function () {
overlayService.createOverlay("overlay-about");
}
};
this.overlayService = overlayService;
}
/**
* Display the About dialog.
* @memberof LogoController#
* @memberof platform/commonUI/about.LogoController#
*/
LogoController.prototype.showAboutDialog = function () {
this.overlayService.createOverlay("overlay-about");
};
return LogoController;
}
);