Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarify documentation for forEach() #861

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion documentation/api_jszip/for_each.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ layout: default
section: api
---

Call a callback function for each entry at this folder level.
Call a callback function for each entry at or below this folder level.

__Returns__ : Nothing.

Expand Down
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ interface JSZip {
folder(name: RegExp): JSZip.JSZipObject[];

/**
* Call a callback function for each entry at this folder level.
* Call a callback function for each entry at or below this folder level.
*
* @param callback function
*/
Expand Down
2 changes: 1 addition & 1 deletion lib/object.js
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ var out = {


/**
* Call a callback function for each entry at this folder level.
* Call a callback function for each entry at or below this folder level.
* @param {Function} cb the callback function:
* function (relativePath, file) {...}
* It takes 2 arguments : the relative path and the file.
Expand Down