environment_hk_js.html 1.14 KB
{{# devEnvironment}}
<script type="text/javascript" src="http://localhost:8000/js/util/seajs.js?nowrap"></script>
{{/ devEnvironment}}
{{# testEnvironment}}
<script type="text/javascript" src="http://cmsres.test.yoho.cn/res/new/girls/js/util/seajs_test.js"></script>
<script type="text/javascript" src="http://cmsres.test.yoho.cn/res/new/girls/index.js"></script>
{{/ testEnvironment}}
{{# prevEnvironment}}
<script type="text/javascript" src="http://res.previewboys.yoho.cn/res/new/girls/js/util/seajs_preview.js"></script>
<script type="text/javascript" src="http://res.previewboys.yoho.cn/res/new/girls/index.js"></script>
<script type="text/javascript">
seajs.use("index");
</script>
{{/ prevEnvironment}}
{{# prodEnvironment}}
<script type="text/javascript" src="http://cdn.yoho.cn/yohogirls-frontend-web/0.0.5/sea.js"></script>
<script type="text/javascript" src="http://cdn.yoho.cn/yohogirls-frontend-web/0.0.5/index.js"></script>
<script type="text/javascript">
seajs.use("index");
</script>
{{/ prodEnvironment}}
<script>
window.updateState = function() {
    seajs.use("js/channel/detail", function(detail) {
        detail.updateLogin();
    });
};
</script>