Authored by 2586703@qq.com

lazyload js +注释

... ... @@ -10,10 +10,13 @@ require('lazyload');
exports.init = function() {
//相关文章截取文字
ellipsis.init();
$(".post-list").find("span").each(function(){
$(this).mlellipsis(2);
})
//图片懒加载
$("img.lazy").lazyload();
}
\ No newline at end of file
... ...