documentation/examples/downloader.inc/helpers.js syntax error

Open Beginner friendly
#581 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
68/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
javascript
Domain
documentation

Research direction

Open documentation/examples/downloader.inc/helpers.js and inspect the top-level return statement reported in the issue. Replace it with the suggested Error throw or remove it, then verify that the example no longer produces a JavaScript syntax error.

Written by the indexing model from the issue text.

Description

bug

In documentation/examples/downloader.inc/helpers.js is used "return" statement outside of function which is incorrect. Could you please replace it with

throw new Error("This demo works only with a recent browser !");

or just remove it...

Dominant language
JavaScript
Stars
10.4k
Forks
1.3k
Avg merge
9h 44m
Merged PRs (30d)
3

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Stuk/jszip

All issues in Stuk/jszip

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.