1、like title ,this is demo of cocos2dx_js project,when I click the “back” ,It show this bug。
2、how to bind myself class?
Issue #1645 was created. Thank you.
But I build a js project also have this bug, my cocos2dx was updated on https://github.com/cocos2d/cocos2d-x.git at 2012-12-26.
We will check it, thanks.
steven chen wrote:
But I build a js project also have this bug, my cocos2dx was updated on GitHub - cocos2d/cocos2d-x: Cocos2d-x is a suite of open-source, cross-platform, game-development tools utilized by millions of developers across the globe. Its core has evolved to serve as the foundation for Cocos Creator 1.x & 2.x. at 2012-12-26.
Thanks for the trouble,I have some question tell you。
In the project,I think it miss the :#include “js_bindings_ccbreader.h” and sc->addRegisterCallback(register_CCBuilderReader);when we used cocosbuilder 3.0.
also should update the jsb_constants_cocosbuilder.js,because it contents is different from jsb_constants_cocosbuilder.js’s contents witch in TestJavascript project.
eg.cc.Reader = {};cc.BuilderReader = {};,And main.js in cocosbuilder project used cc.BuilderReader = {};.
Ok, thanks for reminding this.
steven chen wrote:
Thanks for the trouble,I have some question tell you。
In the project,I think it miss the :#include “js_bindings_ccbreader.h” and sc->addRegisterCallback(register_CCBuilderReader);when we used cocosbuilder 3.0.
also should update the jsb_constants_cocosbuilder.js,because it contents is different from jsb_constants_cocosbuilder.js’s contents witch in TestJavascript project.
eg.cc.Reader = {};cc.BuilderReader = {};,And main.js in cocosbuilder project used cc.BuilderReader = {};.
It’s fixed at https://github.com/cocos2d/cocos2d-x/pull/1825. Thanks. 
Could you pull our latest codes and try again?
James Chen wrote:
It’s fixed at fixed #1645: JS Project created by xcode template doesn't work correctly. by dumganhar · Pull Request #1825 · cocos2d/cocos2d-x · GitHub. Thanks.
Could you pull our latest codes and try again?
It is my pleasure .
James Chen wrote:
It’s fixed at fixed #1645: JS Project created by xcode template doesn't work correctly. by dumganhar · Pull Request #1825 · cocos2d/cocos2d-x · GitHub. Thanks.
Could you pull our latest codes and try again?
I am not familiar with github client. I use git command line.
You could try it by git pull GitHub - cocos2d/cocos2d-x: Cocos2d-x is a suite of open-source, cross-platform, game-development tools utilized by millions of developers across the globe. Its core has evolved to serve as the foundation for Cocos Creator 1.x & 2.x. gles20 in the terminal. Thanks.
steven chen wrote:
James Chen wrote:
> It’s fixed at fixed #1645: JS Project created by xcode template doesn't work correctly. by dumganhar · Pull Request #1825 · cocos2d/cocos2d-x · GitHub. Thanks.
> Could you pull our latest codes and try again?
James Chen wrote:
It’s fixed at fixed #1645: JS Project created by xcode template doesn't work correctly. by dumganhar · Pull Request #1825 · cocos2d/cocos2d-x · GitHub. Thanks.
Could you pull our latest codes and try again?
I download the latest codes And try it. it’s work well.