Closed ewassef closed 4 years ago
Sounds like it might not be. Would be great if someone had a look and figured out if there's a way to make the plugin compatible.
it is pretty easy.
around line 50 remove:
$.each($._data, function() {
if (this.events && this.events.inview) {
elems.push(this.handle.elem);
}
});
and replace:
$(elems).each()...
with:
$('.inview').each()...
it requires that every element that should be watched has to have inview class.
Still broken for me on 2.1.1 and latest. See http://jsbin.com/kaburov/edit?html,css,js,console,output
$.cache seems to always be null and no events fire. is it not compatible anymore?
Thanks