Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Marcus Fedarko <[email protected]>
  • Loading branch information
kwcantrell and fedarko authored Aug 26, 2021
1 parent 4a769a7 commit e3a15b5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions empress/support_files/js/empress.js
Original file line number Diff line number Diff line change
Expand Up @@ -3793,10 +3793,10 @@ define([
};

/**
* Returns the col variable value for the node.
* Returns the feature metadata value at a f. m. column for a node.
*
* @param {Number} node Postorder position of a node in the tree.
* @param {String} col The name of the feature metadata column.
* @param {String} col Name of a feature metadata column.
*
* @return {String} The col variable value for the node or undefined if
* no value exists.
Expand All @@ -3813,11 +3813,11 @@ define([
};

/**
* Checks to see if node has feature metadata.
* Checks to see if a node has feature metadata.
*
* @param {Number} node Postorder position of a node in the tree.
*
* @return true if node has feature metadata else false.
* @return true if node has feature metadata, false otherwise.
*/
Empress.prototype.hasFeatureMetadata = function (node) {
return _.has(this._tipMetadata, node) || _.has(this._intMetadata, node);
Expand Down

0 comments on commit e3a15b5

Please sign in to comment.