Authored by runner

需求修改update

... ... @@ -8,7 +8,7 @@ iscroll({
el: '#index_nav'
}).goto($('#index_nav').find('.active').index());
new Countdown.countdown({
new Countdown.Countdown({
el: el
});
... ...
var $ = require('yoho-jquery'),
Countdown = require('./outlet/countdown');
var $time = $('.outlet-activity-time'),
endTime = $time.data('time-ms');
var search = require('./sale/search');
var el = $('.cd-lite');
search.start();
new Countdown.countdown({
new Countdown.Countdown({
el: el
});
... ...
... ... @@ -3,7 +3,6 @@
*/
var $ = require('yoho-jquery'),
Countdown = require('./outlet/countdown'),
tip = require('../plugin/tip'),
iscroll = require('./outlet/nav');
var $el = $('.cd-medium');
... ... @@ -12,7 +11,7 @@ require('../common');
if ($el.length > 0) {
$el.each(function() {
new Countdown.countdown({
new Countdown.Countdown({
el: $(this)
});
});
... ...
... ... @@ -16,7 +16,7 @@ lazyLoad($('img.lazy'));
if ($el.length > 0) {
$el.each(function() {
Countdown.countdown({
new Countdown.Countdown({
el: $(this)
});
});
... ...
... ... @@ -376,4 +376,4 @@ $.extend(Countdown.prototype, {
return this;
}
});
exports.countdown = Countdown;
exports.Countdown = Countdown;
... ...