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

Issue facing with 4.0.0 #37

Open
abdullahtariq opened this issue Oct 10, 2014 · 1 comment
Open

Issue facing with 4.0.0 #37

abdullahtariq opened this issue Oct 10, 2014 · 1 comment

Comments

@abdullahtariq
Copy link

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

@charlesr1971
Copy link

I think the syntax has changed, looking at the source code:

shadowbox.initialize()

Note the lowercase 's' at the start of 'shadowbox' reference.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants