码迷,mamicode.com
首页 > Web开发 > 详细

DWZ错误的解决:0x800a13af - Microsoft JScript 运行时错误: 重新声明常量“document”

时间:2014-10-30 18:49:40      阅读:190      评论:0      收藏:0      [点我收藏+]

标签:style   blog   http   color   os   ar   sp   strong   div   

在写完Login后,需要跳转到Index中,就是DWZ的主界面,结果出现如下问题:

0x800a13af - Microsoft JScript 运行时错误: 重新声明常量“document”

bubuko.com,布布扣

费了很大劲,网上基本没有解释。

最后自己发现了问题所在,是以下这段代码在搞乱:

<!--[if lte IE 9]>
<script src="~/DWZ/js/speedup.js"></script>
<script src="~/DWZ/plugins/other/respond.js"></script>
<![endif]-->

找到speedup.js,里面有一句

/*@cc_on _d=document;eval(‘var document=_d‘)@*/

就这破玩意搞的怪!

百度了下,好像是为了提速用的,所以这个JS我干脆就不用了,NND!搞定!

 

DWZ错误的解决:0x800a13af - Microsoft JScript 运行时错误: 重新声明常量“document”

标签:style   blog   http   color   os   ar   sp   strong   div   

原文地址:http://www.cnblogs.com/gameman/p/4063350.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!