Authored by xuqi

pkg zepto lazyload

... ... @@ -6,7 +6,7 @@
var $ = require('yoho.zepto'),
ellipsis = require('mlellipsis'),
lazyLoad = require('yoho.lazyload'),
lazyLoad = require('yoho.zeptolazyload'),
IScroll = require('iscroll/iscroll-probe');
var $authorIntro = $('.author .intro');
... ...
... ... @@ -6,7 +6,7 @@
var $ = require('yoho.zepto'),
ellipsis = require('mlellipsis'),
lazyLoad = require('yoho.lazyload');
lazyLoad = require('yoho.zeptolazyload');
var tip = require('../plugin/tip');
... ...
... ... @@ -6,7 +6,7 @@
var $ = require('yoho.zepto'),
ellipsis = require('mlellipsis'),
lazyLoad = require('yoho.lazyload');
lazyLoad = require('yoho.zeptolazyload');
var $intro = $('#intro'),
$imt = $('#intro-more-txt'),
... ...
... ... @@ -5,7 +5,7 @@
*/
var $ = require('yoho.zepto'),
lazyLoad = require('yoho.lazyload'),
lazyLoad = require('yoho.zeptolazyload'),
Swiper = require('yoho.iswiper');
var $navs = $('#nav-tab > li'),
... ...
... ... @@ -4,7 +4,7 @@
* @date: 2015/10/12
*/
var $ = require('yoho.zepto'),
lazyLoad = require('yoho.lazyload');
lazyLoad = require('yoho.zeptolazyload');
//Init LazyLoad
lazyLoad($('img.lazy'));
\ No newline at end of file
... ...
... ... @@ -5,7 +5,7 @@
*/
var $ = require('yoho.zepto'),
Swiper = require('yoho.iswiper'),
lazyLoad = require('yoho.lazyload'),
lazyLoad = require('yoho.zeptolazyload'),
bannerSwiper,
recommendSwiper,
trendTopicSwiper,
... ...
... ... @@ -11,7 +11,7 @@
*/
var $ = require('yoho.zepto'),
lazyLoad = require('yoho.lazyload');
lazyLoad = require('yoho.zeptolazyload');
var $maybeLike = $('.maybe-like:last');
... ...
var $ = require('yoho.zepto'),
Swiper = require('yoho.iswiper'),
lazyLoad = require('yoho.lazyload');
lazyLoad = require('yoho.zeptolazyload');
var $curNav,
$navList = $('#newarrival-nav'),
... ...
... ... @@ -18,11 +18,11 @@
"dependencies": {
"yoho.zepto": "1.1.60",
"yoho.jquery": "1.8.3",
"yoho.lazyload": "1.1.0",
"mlellipsis": "0.0.6",
"yoho.iswiper": "3.0.1",
"iscroll": "5.1.2",
"import-style": "1.0.0"
"import-style": "1.0.0",
"yoho.zeptolazyload": "0.0.1"
},
"devDependencies": {
"expect.js": "0.3.1"
... ... @@ -46,4 +46,4 @@
"test": "spm test",
"build": "spm build"
}
}
}
\ No newline at end of file
... ...