Authored by 郭成尧

if-BJ_REPORT

... ... @@ -77,13 +77,15 @@
{{> download-app}}
{{#ifand isProduction wap.open.bughd}}
<script type="text/javascript" src="https://cdn.yoho.cn/tool/bj-report-tryjs.min.js" crossOrigin="anonymous"></script>
<script type="text/javascript" src="//cdn.yoho.cn/tool/bj-report-tryjs.min.js?t={{startTime}}" crossOrigin="anonymous"></script>
<script type="text/javascript">
if (BJ_REPORT) {
BJ_REPORT.init({
id: 2,
url: "http://118.89.213.12/badjs",
ignore: [/Script error/i]
});
}
</script>
{{/ifand}}
{{#wechatShare}}
... ... @@ -107,7 +109,9 @@
<script src="//cdn.yoho.cn/m-yohobuy-node/{{version}}/libs.js?t={{startTime}}"></script>
{{#ifand isProduction wap.open.bughd}}
<script>
if (BJ_REPORT && BJ_REPORT.tryJs()) {
BJ_REPORT.tryJs().spyAll();
}
</script>
{{/ifand}}
<script src="//cdn.yoho.cn/m-yohobuy-node/{{version}}/{{module}}.{{page}}.js?t={{startTime}}"></script>
... ...