Authored by yyq

badjs

... ... @@ -34,6 +34,19 @@
{{{body}}}
{{/if}}
{{> footer}}
{{#ifand isProduction pc.open.bughd}}
<script type="text/javascript" src="//cdn.yoho.cn/tool/bj-report-tryjs.min.js" crossOrigin="anonymous"></script>
<script>
BJ_REPORT && BJ_REPORT.init({
id: 3,
url: "http://118.89.213.12/badjs",
ignore: [/Script error/i],
offlineLog: false
});
</script>
{{/ifand}}
{{#if devEnv}}
<script src="//{{devHost}}:5002/libs.js"></script>
<script src="//{{devHost}}:5002/{{module}}.{{page}}.js"></script>
... ... @@ -42,13 +55,13 @@
<script src="//{{#isEqual cdn 'qcloud'}}qcdn.yoho.cn{{^}}cdn.yoho.cn{{/isEqual}}/yohobuy-node/{{version}}/{{module}}.{{page}}.js"></script>
{{> analysis}}
{{/if}}
{{#ifand isProduction pc.open.bughd}}
<script type="text/javascript" src="https://dn-bughd-web.qbox.me/bughd.min.js" crossOrigin="anonymous"></script>
<script type="text/javascript">
window.bughd = window.bughd || function(){};
bughd("create",{key:"986befe1e91cae7c844df12923febcf6"})
<script>
BJ_REPORT && BJ_REPORT.tryJs().spyAll();
</script>
{{/ifand}}
<script>window.cdn='{{cdn}}';</script>
<script>window._version='{{version}}';</script>
</body>
... ...