Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Uncaught TypeError: Cannot read property 'error' of undefined #63

Closed
lifeisfoo opened this issue Oct 27, 2015 · 3 comments
Closed

Uncaught TypeError: Cannot read property 'error' of undefined #63

lifeisfoo opened this issue Oct 27, 2015 · 3 comments

Comments

@lifeisfoo
Copy link

Using these code

<script type="text/javascript" src="https://cdn.jsdelivr.net/blazy/1.4.1/blazy.min.js"></script>
<script>
    ;(function() {
        // Initialize
        var bLazy = new Blazy();
    })();
</script>

will thrown this error: Uncaught TypeError: Cannot read property 'error' of undefined.
Even with no elements in use. Even with 1.4.0.

@dinbror
Copy link
Owner

dinbror commented Oct 27, 2015

Hey @lifeisfoo .
I see. The bug was introduced in version 1.4.0 and fixed in version 1.4.1. Sadly I didn't manage to update the minified version properly :(
I have updated the minified version here at github and will release a new version soon.

Thanks for reporting

@lifeisfoo
Copy link
Author

When you plan to release it (1.4.2?) on the CDN?
I'm building a website using it and I'm going live in days :).

Thank you for your work.

@dinbror
Copy link
Owner

dinbror commented Oct 30, 2015

Fixed in v. 1.5.0

@dinbror dinbror closed this as completed Oct 30, 2015
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants