Skip to content

Commit 0dced25

Browse files
committed
Update function prologue
1 parent a361f5d commit 0dced25

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

dist/infinite-tree.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1394,8 +1394,9 @@ var InfiniteTree = function (_events$EventEmitter) {
13941394
var newNodes = [].concat(newNode || []); // Ensure array
13951395
return this.addChildNodes(newNodes, index, parentNode);
13961396
};
1397+
// Checks or unchecks a node.
13971398
// @param {Node} node The Node object.
1398-
// @param {boolean} [checked] Whether to check or uncheck the node. If the parameter is not specified, it will toggle between checked and unchecked state. The checked state is true when the indeterminate state is true.
1399+
// @param {boolean} [checked] Whether to check or uncheck the node. If not specified, it will toggle between checked and unchecked state.
13991400
// @return {boolean} Returns true on success, false otherwise.
14001401
// @example
14011402
//

src/infinite-tree.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -531,8 +531,9 @@ class InfiniteTree extends events.EventEmitter {
531531
const newNodes = [].concat(newNode || []); // Ensure array
532532
return this.addChildNodes(newNodes, index, parentNode);
533533
}
534+
// Checks or unchecks a node.
534535
// @param {Node} node The Node object.
535-
// @param {boolean} [checked] Whether to check or uncheck the node. If the parameter is not specified, it will toggle between checked and unchecked state. The checked state is true when the indeterminate state is true.
536+
// @param {boolean} [checked] Whether to check or uncheck the node. If not specified, it will toggle between checked and unchecked state.
536537
// @return {boolean} Returns true on success, false otherwise.
537538
// @example
538539
//

0 commit comments

Comments
 (0)