摘要: function test(){ alert("test"); } if(typeof test!='undefined') {alert(1) test(); } else {alert(2)} if(typeof testStart!='undefined'){ alert(3) } else{ alert(4) testStart(); }if(typeof test==... 阅读全文
posted @ 2016-10-31 10:51 Danlis 阅读(1212) 评论(0) 推荐(0) 编辑
摘要: phaser.js这个插件,中文翻译的开发文档还在翻译中,至于英文的开发文档,勉勉强强查阅,有些方法名和开发文档的有着一些区别,开发文档上时带着er的。不过大体上还是一一对应查找的到的 eg:load=>loader http://phaser.io/docs/2.6.2/index 这应该是原版的 阅读全文
posted @ 2016-10-31 09:34 Danlis 阅读(1702) 评论(0) 推荐(0) 编辑