Skip to content

Commit

Permalink
Update app/javascript/blacklight/debounce.js
Browse files Browse the repository at this point in the history
Co-authored-by: Max Kadel <[email protected]>
  • Loading branch information
sandbergja and maxkadel authored Dec 16, 2024
1 parent 2d91574 commit 086db03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/javascript/blacklight/debounce.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// const basicFunction = (entry) => console.log(entry)
// const debounced = debounce(basicFunction("I should only be called once"));
//
// debounced // does NOT print to the screen becase it is invoked again less than 200 milliseconds later
// debounced // does NOT print to the screen because it is invoked again less than 200 milliseconds later
// debounced // does print to the screen
// ```
export default function debounce(func, timeout = 200) {
Expand Down

0 comments on commit 086db03

Please sign in to comment.