Skip to content

Commit

Permalink
Add JSDoc to source file (#130)
Browse files Browse the repository at this point in the history
  • Loading branch information
jgarber623 authored Oct 14, 2023
1 parent 4a17935 commit 9261dcd
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/cashcash.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@ class Cash {
}
}

/**
* @param {string} selector Any valid CSS selector.
* @param {string|HTMLElement} context Optional search context.
*
* @returns {Cash} An instance of the Cash class
*/
export default function CashCash(selector, context) {
return new Cash(selector, context);
}

0 comments on commit 9261dcd

Please sign in to comment.