lib/http/public/javascripts/main.js
function infiniteScroll() {
    if (infiniteScroll.bound) return;
    var body = o('body');
    hideLoading();
    infiniteScroll.bound = true;

    o(window).scroll(function (e) {
        var top = body.scrollTop()
            , height = body.innerHeight()
            , windowHeight = window.innerHeight
            , pad = 30;

        if (top + windowHeight + pad >= height) {
            to += more;
            infiniteScroll.bound = false;
            showLoading();
            o(window).unbind('scroll');
        }
    });
}
function infiniteScroll() {
    if (infiniteScroll.bound) return;
    var body = o('body');
    hideLoading();
    infiniteScroll.bound = true;

    o(window).scroll(function (e) {
        var top = body.scrollTop()
            , height = body.innerHeight()
            , windowHeight = window.innerHeight
            , pad = 30;

        if (top + windowHeight + pad >= height) {
            to += more;
            infiniteScroll.bound = false;
            showLoading();
            o(window).unbind('scroll');
        }
    });
}
function infiniteScroll ( ) { if ( infiniteScroll . bound ) return ; var body = o ( 'body' ) ; hideLoading ( ) ; infiniteScroll . bound = true ; o ( window ) . scroll ( function ( e ) { var top = body . scrollTop ( ) , height = body . innerHeight ( ) , windowHeight = window . innerHeight , pad = 30 ; if ( top + windowHeight + pad >= height ) { to += more ; infiniteScroll . bound = false ; showLoading ( ) ; o ( window ) . unbind ( 'scroll' ) ; } } ) ; }
Infinite scroll.
Infinite scroll .