Authored by hf

fixes bugs to modify analysis js to async

@@ -30,7 +30,7 @@ class Yohobuy @@ -30,7 +30,7 @@ class Yohobuy
30 // const API_OLD = 'http://api2.open.yohobuy.com/'; 30 // const API_OLD = 'http://api2.open.yohobuy.com/';
31 31
32 /* 测试环境 */ 32 /* 测试环境 */
33 - const API_URL = 'http://testapi.yoho.cn:28078/'; 33 + const API_URL = 'http://testapi.yoho.cn:28078/';
34 const SERVICE_URL = 'http://testservice.yoho.cn:28077/'; 34 const SERVICE_URL = 'http://testservice.yoho.cn:28077/';
35 const YOHOBUY_URL = 'http://www.yohobuy.com/'; 35 const YOHOBUY_URL = 'http://www.yohobuy.com/';
36 const API_OLD = 'http://test2.open.yohobuy.com/'; 36 const API_OLD = 'http://test2.open.yohobuy.com/';
@@ -28,5 +28,5 @@ @@ -28,5 +28,5 @@
28 s.parentNode.insertBefore(hm, s); 28 s.parentNode.insertBefore(hm, s);
29 })(); 29 })();
30 </script> 30 </script>
31 -<script src="http://static.yohobuy.com/js/analytics/analysis.js"></script>  
32 -<script src="http://static.yohobuy.com/m/v1/js/om_code.js"></script> 31 +<script src="http://static.yohobuy.com/js/analytics/analysis.js" async="async"></script>
  32 +<script src="http://static.yohobuy.com/m/v1/js/om_code.js" async="async"></script>
@@ -3,7 +3,6 @@ @@ -3,7 +3,6 @@
3 use Action\AbstractAction; 3 use Action\AbstractAction;
4 use LibModels\Wap\Guang\DetailData; 4 use LibModels\Wap\Guang\DetailData;
5 use LibModels\Wap\Product\ListData; 5 use LibModels\Wap\Product\ListData;
6 -use LibModels\Wap\Guang\OptData;  
7 use Plugin\Helpers; 6 use Plugin\Helpers;
8 7
9 /** 8 /**