mjackson / mjackson/shadowbox

Issue facing with 4.0.0

Open
#37 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
293
Forks
110
PR merge metrics
No merged PRs in 30d

Description

Hi mjackson,

i am trying to use the updated code from the git but when i link the file and request for the init function i.e.
Shadowbox.init();

it throws an error ReferenceError: Shadowbox is not defined

but when i switch back to the Shadowbox.js, version 3.0.3

its start working

please help me out or guide me where i am making mistake thanks

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.

Research direction

Reproduce the issue by linking the 4.0.0 code and calling Shadowbox.init(), then compare the loading and initialization path with Shadowbox.js 3.0.3. Check how the 4.0.0 build exposes Shadowbox and determine whether the reported ReferenceError is resolved or requires migration guidance.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
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.