Authored by 梁志锋

修改代码规范

@@ -28,7 +28,6 @@ var isRefreshByDelete = window.cookie('_yoho-cart-refreshByDelete') === 'true' ? @@ -28,7 +28,6 @@ var isRefreshByDelete = window.cookie('_yoho-cart-refreshByDelete') === 'true' ?
28 28
29 var lowStockCount = 0; 29 var lowStockCount = 0;
30 30
31 -  
32 loading.showLoadingMask(); 31 loading.showLoadingMask();
33 32
34 function needLoadRecommandForYou() { 33 function needLoadRecommandForYou() {
@@ -138,8 +138,6 @@ function checkColorSizeNum() { @@ -138,8 +138,6 @@ function checkColorSizeNum() {
138 return true; 138 return true;
139 } 139 }
140 140
141 -  
142 -  
143 function show(html, cb) { 141 function show(html, cb) {
144 if (html) { 142 if (html) {
145 $chosePanel.html(html); 143 $chosePanel.html(html);
@@ -152,8 +150,7 @@ function show(html, cb) { @@ -152,8 +150,7 @@ function show(html, cb) {
152 $('.chose-panel').show(); 150 $('.chose-panel').show();
153 $num = $('#good-num'); 151 $num = $('#good-num');
154 cbFn = cb; 152 cbFn = cb;
155 -  
156 - 153 +
157 innerScroll.disableScroll($choseArea); 154 innerScroll.disableScroll($choseArea);
158 } 155 }
159 156
@@ -28,6 +28,7 @@ var attachFastClick = require('./fastclick'); @@ -28,6 +28,7 @@ var attachFastClick = require('./fastclick');
28 28
29 attachFastClick(document.body); 29 attachFastClick(document.body);
30 30
  31 +
31 lazyLoad($('img.lazy')); 32 lazyLoad($('img.lazy'));
32 noticeScroll('.notice', $('.notice').data('time') * 1000); 33 noticeScroll('.notice', $('.notice').data('time') * 1000);
33 34