Skip to content

Commit

Permalink
Fix JSDoc return value in description
Browse files Browse the repository at this point in the history
Add related uBO scriptlet to description
  • Loading branch information
AdamWr committed Jun 5, 2023
1 parent 8911c2e commit 969881b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/helpers/prune-utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { toRegExp } from './string-utils';
* @param {Array} prunePaths array with string of space-separated properties to remove
* @param {Array} requiredPaths array with string of space-separated properties
* which must be all present for the pruning to occur
* @returns {boolean} true if prunning is required
* @returns {boolean|undefined} true if prunning is required
*/
export function isPruningNeeded(source, root, prunePaths, requiredPaths) {
if (!root) {
Expand Down
3 changes: 3 additions & 0 deletions src/scriptlets/evaldata-prune.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ import {
* @description
* Removes specified properties from the result of calling eval (if payloads contains `Object`) and returns to the caller.
*
* Related UBO scriptlet:
* https://github.com/gorhill/uBlock/commit/c8de9041917b61035171e454df886706f27fc4f3
*
* ### Syntax
*
* ```text
Expand Down

0 comments on commit 969881b

Please sign in to comment.