lufy's legend
标题:
书中第7章游戏bug
[打印本页]
作者:
comenew
时间:
2015-9-22 16:12
标题:
书中第7章游戏bug
你好,书中第7章的 "是男人就下100层“例子,在使用最新的库lufy1.9.10.min的时候,chrome下运行正常,ie11下运行失败。
作者:
lufy
时间:
2015-9-22 16:46
应该是因为新版引擎对数组做了扩展引起的,
把代码中类似for(var i in arr)的代码全部改为for(var i=0;i<arr.length;i++)的形式就可以了
作者:
comenew
时间:
2015-9-23 10:10
谢谢,搞定了。
欢迎光临 lufy's legend (http://lufylegend.com/forum/)
Powered by Discuz! X2.5