Skip to content

Commit

Permalink
Fix additional jsdoc items
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaSBrown committed Jan 7, 2025
1 parent 93de854 commit bbfc3a9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
9 changes: 5 additions & 4 deletions web/static/main_browse_tab.js
Original file line number Diff line number Diff line change
Expand Up @@ -2079,18 +2079,19 @@ function treeSelectRange(a_tree, a_node) {
}

/**
* @brief Check if pasting is allowed to the specified node.
* @function
* Check if pasting is allowed to the specified node.
*
* This function checks whether a paste operation is allowed based on various conditions,
* such as whether the destination node is valid, whether the source and destination nodes
* belong to the same scope, and other restrictions like node types and parent-child relationships.
*
* @param {Object} dest_node - The candidate destination node where the paste operation is being attempted.
* @param {Object} src_node - The node being dragged or copied to the destination.
* @param {object} dest_node - The candidate destination node where the paste operation is being attempted.
* @param {object} src_node - The node being dragged or copied to the destination.
*
* @returns {string|boolean} Returns "over" if the paste is allowed, otherwise returns `false`.
*
* @note There is additional source information in the pasteSourceParent and pasteCollections variables.
* There is additional source information in the pasteSourceParent and pasteCollections variables.
*/
function pasteAllowed(dest_node, src_node) {
//console.log("pasteAllowed:",dest_node, src_node);
Expand Down
4 changes: 2 additions & 2 deletions web/static/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -778,8 +778,8 @@ export function dataGet(a_ids, a_cb) {
* @param {UUID} client_id - The UUID of the Globus authentication client.
* @param {string} redirect_uri - The URI-safe application-wide Globus Auth redirect URI.
* @param {Array<string>} [requested_scopes=[]] - The scopes on the token(s) being requested.
* In the case of accessing a mapped collection, this should include the mapped
* collection's UUID, such as: `https://auth.globus.org/scopes/YOUR-UUID-HERE/data_access`.
* In the case of accessing a mapped collection, this should include the mapped
* collection's UUID, such as: `https://auth.globus.org/scopes/YOUR-UUID-HERE/data_access`.
* @param {string} [state="_default"] - Allows the application to pass information back to itself.
* @param {boolean} [refresh_tokens=false] - Request refresh tokens in addition to access tokens.
* @param {object} [query_params={}] - Additional parameters to be included in the authorization URL.
Expand Down

0 comments on commit bbfc3a9

Please sign in to comment.