初始的Cocos2d-JS项目中的main.js代码的内容为:/*** A brief explanation for "project.json":* Here is the content of project.json file, this is the global configuration for your game, you can modify it to customize some behavior.* The detail of each field is under it.{"project_type": "javascript",// "project_type" indicate the program language of your project, you can ignore this field"debugMode" ...