Skip to content
This repository has been archived by the owner on May 4, 2022. It is now read-only.

Commit

Permalink
docs: use idiomatic JSDoc syntax for optional pageTitle
Browse files Browse the repository at this point in the history
  • Loading branch information
apetro committed Feb 1, 2018
1 parent 1ce21d2 commit 9590884
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/portal/main/controllers.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ define(['angular', 'require'], function(angular, require) {
* Set Document title.
* Asks mainService what the document title ought to be and
* sets the document title to that value.
* @param {string} pageTitle - Optional, name of specific page viewed.
* @param {string} [pageTitle] - Name of specific page viewed.
*/
function updateWindowTitle(pageTitle) {
var appTitle = NAMES.title;
Expand Down

0 comments on commit 9590884

Please sign in to comment.