understanding Unveil.js code
hey guys checkout this small plugin for unveil.js , its for lazy loading .
link on github :
Github code
i don't quite understand 2 lines of code in this pluggin :
line 44 and line 45(on the github repo)
- loaded = inview.trigger("unveil");
- images = images.not(loaded);
what are these two lines really doing in the context of this pluggin ??
js fiddle on how the pluggin functions , incase its useful :
fiddle