max-mapper / max-mapper/requirebin

Single quotes on object key breaking things without error

Open
#62 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
389
Forks
73
PR merge metrics
No merged PRs in 30d

Description

If you change "ev-click" to 'ev-click' here, the example stops working without error. Not sure why? Maybe a problem with browserify or uglify? However when I run the example locally it works both with single and double quotes. Really strange.

Contributor guide

Open the contributing guide

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.

Research direction

Start by reproducing the linked RequireBin example with "ev-click" and 'ev-click', then compare that behavior with the locally running example. Investigate whether the discrepancy comes from the browserify or uglify path mentioned in the report. Done means explaining why the quote change breaks the hosted example and identifying the affected processing step.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
web-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.