News for hackers. Stuff that matters.
Re:Airbnb Releases Infinity.js: A Javascript Library for Smo... by gilini on Friday August 17, 2012 @09:26AM (#4396199)
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 = {};
Re:Airbnb Releases Infinity.js: A Javascript Library for Smo... by brown9-2 on Friday August 17, 2012 @11:23AM (#4396803)
I 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().
Re:Airbnb Releases Infinity.js: A Javascript Library for Smo... by gilini on Wednesday August 29, 2012 @12:37PM (#4449465)
It doesn't matter. Both snippets do the exact same thing, except the first has two attributions, the second just one.