Skip to content

Commit

Permalink
JSDoc bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
Ivo Sonderegger committed Sep 16, 2020
1 parent a23d315 commit dc61376
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/meteoJS/modelviewer/Container.js
Original file line number Diff line number Diff line change
Expand Up @@ -461,14 +461,20 @@ export class Container extends Unique {
this._setSelectedVariables(selectedVariables, node);
}

/**
* @typedef result_getSelectedVariablesWithResources
* @type {Array}
* @property {undefined|Set<module:meteoJS/modelviewer/variable.Variable>} 0
* @property {undefined|module:meteoJS/modelviewer/variable.Variable} 1
*/

/**
*
*
* @param {Set<module:meteoJS/modelviewer/node.Node>} nodes - Nodes to check.
* @param {Set<module:meteoJS/modelviewer/variable.Variable>}
* selectedVariables - Selected Variables from top until this node.
* @returns {[undefined|Set<module:meteoJS/modelviewer/variable.Variable>,
* undefined|module:meteoJS/modelviewer/variable.Variable]}
* @returns {result_getSelectedVariablesWithResources}
* Array with first element the SelectedVariables, second element the last
* selectedVariable (node most down in the tree).
* @private
Expand Down

0 comments on commit dc61376

Please sign in to comment.