Showing
1 changed file
with
2 additions
and
2 deletions
1 | var $ = require('yoho.jquery'), | 1 | var $ = require('yoho.jquery'), |
2 | - Lazyload = require('yoho.lazyload'); | 2 | + lazyload = require('yoho.lazyload'); |
3 | var Handlebars = require('yoho.handlebars'); | 3 | var Handlebars = require('yoho.handlebars'); |
4 | 4 | ||
5 | function InfiniteLoad(options) { | 5 | function InfiniteLoad(options) { |
@@ -126,7 +126,7 @@ module.exports = function(data) { | @@ -126,7 +126,7 @@ module.exports = function(data) { | ||
126 | $container.append(myTemplate(data.goods)); | 126 | $container.append(myTemplate(data.goods)); |
127 | 127 | ||
128 | //懒加载插件貌似有点问题,图片先直接展示 | 128 | //懒加载插件貌似有点问题,图片先直接展示 |
129 | - Lazyload($container.find('img.lazy')); | 129 | + lazyload($container.find('img.lazy')); |
130 | 130 | ||
131 | load.emit(); | 131 | load.emit(); |
132 | } else { | 132 | } else { |
-
Please register or login to post a comment