Authored by hf

code review by hf: modify call api to release env

1 <!-- Google Tag Manager --> 1 <!-- Google Tag Manager -->
2 <noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-W958MG" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> 2 <noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-W958MG" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
3 -  
4 <script> 3 <script>
5 var _hmt = _hmt || []; 4 var _hmt = _hmt || [];
6 (function() { 5 (function() {
@@ -10,7 +9,6 @@ var _hmt = _hmt || []; @@ -10,7 +9,6 @@ var _hmt = _hmt || [];
10 j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= 9 j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
11 '//www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); 10 '//www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
12 })(window,document,'script','dataLayer','GTM-W958MG'); 11 })(window,document,'script','dataLayer','GTM-W958MG');
13 -  
14 (function() { 12 (function() {
15 var hm = document.createElement("script"); 13 var hm = document.createElement("script");
16 hm.src = "//hm.baidu.com/hm.js?c6ee7218b8321cb65fb2e98f284d8311"; 14 hm.src = "//hm.baidu.com/hm.js?c6ee7218b8321cb65fb2e98f284d8311";
@@ -18,7 +16,6 @@ var _hmt = _hmt || []; @@ -18,7 +16,6 @@ var _hmt = _hmt || [];
18 var s = document.getElementsByTagName("script")[0]; 16 var s = document.getElementsByTagName("script")[0];
19 s.parentNode.insertBefore(hm, s); 17 s.parentNode.insertBefore(hm, s);
20 })(); 18 })();
21 -  
22 (function() { 19 (function() {
23 var hm = document.createElement("script"); 20 var hm = document.createElement("script");
24 hm.src = "//hm.baidu.com/hm.js?65dd99e0435a55177ffda862198ce841"; 21 hm.src = "//hm.baidu.com/hm.js?65dd99e0435a55177ffda862198ce841";
@@ -26,7 +23,6 @@ var _hmt = _hmt || []; @@ -26,7 +23,6 @@ var _hmt = _hmt || [];
26 var s = document.getElementsByTagName("script")[0]; 23 var s = document.getElementsByTagName("script")[0];
27 s.parentNode.insertBefore(hm, s); 24 s.parentNode.insertBefore(hm, s);
28 })(); 25 })();
29 -  
30 (function() { 26 (function() {
31 var hm = document.createElement("script"); 27 var hm = document.createElement("script");
32 hm.src = "http://static.yohobuy.com/js/analytics/analysis.js"; 28 hm.src = "http://static.yohobuy.com/js/analytics/analysis.js";
@@ -38,28 +34,6 @@ var _hmt = _hmt || []; @@ -38,28 +34,6 @@ var _hmt = _hmt || [];
38 window.addEventListener('load', async_load, false); 34 window.addEventListener('load', async_load, false);
39 })(); 35 })();
40 </script> 36 </script>
41 -<<<<<<< HEAD  
42 -<!-- End Google Tag Manager -->  
43 -<script type="text/javascript">  
44 - var _hmt = _hmt || [];  
45 - (function() {  
46 - var hm = document.createElement("script");  
47 - hm.src = "//hm.baidu.com/hm.js?c6ee7218b8321cb65fb2e98f284d8311";  
48 - hm.async = 1;  
49 - var s = document.getElementsByTagName("script")[0];  
50 - s.parentNode.insertBefore(hm, s);  
51 - })();  
52 -</script>  
53 -<script>  
54 - var _hmt = _hmt || [];  
55 - (function() {  
56 - var hm = document.createElement("script");  
57 - hm.src = "//hm.baidu.com/hm.js?65dd99e0435a55177ffda862198ce841";  
58 - hm.async = 1;  
59 - var s = document.getElementsByTagName("script")[0];  
60 - s.parentNode.insertBefore(hm, s);  
61 - })();  
62 -</script>  
63 <script> 37 <script>
64 window._py = window._py||[]; 38 window._py = window._py||[];
65 window._py.push(['a', 'MC..o8vMMWxEXDCiqYckD81lUX']); 39 window._py.push(['a', 'MC..o8vMMWxEXDCiqYckD81lUX']);
@@ -73,5 +47,4 @@ var _hmt = _hmt || []; @@ -73,5 +47,4 @@ var _hmt = _hmt || [];
73 var h = d.getElementsByTagName("script")[0];h.parentNode.insertBefore(c, h); 47 var h = d.getElementsByTagName("script")[0];h.parentNode.insertBefore(c, h);
74 }(document); 48 }(document);
75 </script> 49 </script>
76 -<script src="http://static.yohobuy.com/js/analytics/analysis.js" async="async"></script>  
77 <script src="http://static.yohobuy.com/m/v1/js/om_code.js" async="async"></script> 50 <script src="http://static.yohobuy.com/m/v1/js/om_code.js" async="async"></script>