examples/yo.yohobuy-mobile/client/js/saunter.js
function lazyLoad(imgs, options) {
        var setting = {
                effect: 'fadeIn',
                effect_speed: 10,
                placeholder: 'data:image/gif;base64,R0lGODlhAQABAJEAAAAAAP///93d3f///yH5BAEAAAMALAAAAAABAAEAAAICVAEAOw=='
            },
            $imgs;
        if (typeof imgs === 'undefined') {
            $imgs = $('img.lazy');
        } else {
            $imgs = imgs;
        }
        if (typeof options !== 'undefined') {
            $.extend(setting, options);
        }
        $imgs.lazyload(setting);
    }
function lazyLoad(imgs, options) {
        var setting = {
                effect: 'fadeIn',
                effect_speed: 10,
                placeholder: 'data:image/gif;base64,R0lGODlhAQABAJEAAAAAAP///93d3f///yH5BAEAAAMALAAAAAABAAEAAAICVAEAOw=='
            },
            $imgs;
        if (typeof imgs === 'undefined') {
            $imgs = $('img.lazy');
        } else {
            $imgs = imgs;
        }
        if (typeof options !== 'undefined') {
            $.extend(setting, options);
        }
        $imgs.lazyload(setting);
    }
function lazyLoad ( imgs , options ) { var setting = { effect : 'fadeIn' , effect_speed : 10 , placeholder : 'data:image/gif;base64,R0lGODlhAQABAJEAAAAAAP///93d3f///yH5BAEAAAMALAAAAAABAAEAAAICVAEAOw==' } , $imgs ; if ( typeof imgs === 'undefined' ) { $imgs = $ ( 'img.lazy' ) ; } else { $imgs = imgs ; } if ( typeof options !== 'undefined' ) { $ . extend ( setting , options ) ; } $imgs . lazyload ( setting ) ; }
lazyLoad-Fn
lazyLoad - Fn