Skip to content

Commit 3d02f2f

Browse files
committed
jsdoc bugs fixed
1 parent 41d9850 commit 3d02f2f

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

src/firefly/js/api/ApiViewer.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ let defaultViewerType=ViewerType.TriView;
5050

5151

5252
/**
53-
* @returns {{getViewer: getViewer, getExternalViewer: getExternalViewer}}
53+
* @returns {{getViewer: function, getExternalViewer: function}}
5454
* @ignore
5555
*/
5656
export function buildViewerApi() {
@@ -98,7 +98,7 @@ export function getViewer(channel= getWsChannel(),file=defaultViewerFile) {
9898
const viewer= Object.assign({dispatch, reinitViewer, channel},
9999
buildImagePart(channel,file,dispatch),
100100
buildTablePart(channel,file,dispatch),
101-
buildChartPart(channel,file,dispatch),
101+
buildChartPart(channel,file,dispatch)
102102
);
103103

104104

src/firefly/js/core/background/BackgroundUtil.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,15 @@ export function getBackgroundInfo() {
2020

2121
/**
2222
* returns an array of all background jobs.
23-
* @returns [string]
23+
* @returns {Array.<string>}
2424
*/
2525
export function getBackgroundJobs() {
2626
return get(flux.getState(), [BACKGROUND_PATH, 'jobs']);
2727
}
2828

2929
/**
3030
* returns background status for the given id.
31+
* @param id
3132
* @returns {BgStatus}
3233
*/
3334
export function getBgStatusById(id) {
@@ -44,7 +45,7 @@ export function getBgEmail() {
4445

4546
/**
4647
* returns the email related info. Currently, it's email and enableEmail.
47-
* @returns {object.<string, }
48+
* @returns {object.<string>}
4849
*/
4950
export function getBgEmailInfo() {
5051
let {email, enableEmail} = get(flux.getState(), BACKGROUND_PATH) || {};

0 commit comments

Comments
 (0)