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

Doesn't work with Zepto 1.1.6 #43

Closed
lackneets opened this issue Jun 16, 2016 · 2 comments
Closed

Doesn't work with Zepto 1.1.6 #43

lackneets opened this issue Jun 16, 2016 · 2 comments

Comments

@lackneets
Copy link

Try to combine lity with zepto...

<script src="https://cdnjs.cloudflare.com/ajax/libs/zepto/1.1.6/zepto.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/lity/1.6.6/lity.min.js"></script>

<a href="http://placehold.it/800x800?.png" class="item" data-lity><img src="http://placehold.it/200x200" alt=""></a>

Got

lity.min.js:4 Uncaught TypeError: b.Deferred is not a function

jsfiddle

@jsor
Copy link
Owner

jsor commented Jun 16, 2016

You need to load the deferred module which is not included in the cdnjs build.

@jsor
Copy link
Owner

jsor commented Jul 7, 2016

I've added a note to the README in 58a19a9.

@jsor jsor closed this as completed Jul 7, 2016
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