5 ms·
Same here, but I wouldn't expect much from a jQuery plugin that implements "infinite scroll". Like I need stuff to start loading by itself whenever I reach the
by gilini 14y ago
Same here, but I wouldn't expect much from a jQuery plugin that implements "infinite scroll". Like I need stuff to start loading by itself whenever I reach the bottom of the page.
Also, looking at their code, the first thing I laid eyes on was this statement:
var infinity = window.infinity = {};
Which, in this context, would be the exact same as
var infinity = {};
- brown9-2 14y agoI believe they are doing that to override any functions/objects already bound to window.infinity from other plugins/scripts. Look at the infinity.noConflict() function at the bottom of the source, which seems to be inspired by the jQuery.noConflict().
- gilini 14y agoIt doesn't matter. Both snippets do the exact same thing, except the first has two attributions, the second just one.