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

Latest version 1.5.0 no longer export ImageKit variable to global scope #58

Closed
ghost opened this issue Jul 2, 2022 · 2 comments
Closed

Comments

@ghost
Copy link

ghost commented Jul 2, 2022

Error I'm getting:

file_upload.js:3 Uncaught ReferenceError: ImageKit is not defined
    at HTMLDocument.<anonymous> (file_upload.js:3:19)
    at i (jquery.min.js:2:27151)
    at Object.fireWith [as resolveWith] (jquery.min.js:2:27914)
    at Function.ready (jquery.min.js:2:29707)
    at HTMLDocument.J (jquery.min.js:2:29892)

Tag used to import imagekit javascript client:

<script src="https://unpkg.com/imagekit-javascript@1.5.0/dist/imagekit.min.js"></script>

Maybe related?
imagekit-developer/imagekit-nodejs#54

@imagekitio
Copy link
Collaborator

Please check version 1.5.1

@ghost
Copy link
Author

ghost commented Jul 2, 2022

Thanks, I can confirm 1.5.1 is now working properly.

@ghost ghost closed this as completed Jul 2, 2022
This issue was closed.
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

1 participant