When I extend cc.Menu class like this:var MainMenu = cc.Menu.extend({ ……….
but it not works at js-binding, the error is: TypeError: cc.Menu.extend is not a function , why, can somebody meet the same problem?
You could add `cc.Menu.extend = cc.Class.extend;` in jsb_cocos2d.js
James Chen wrote:
You could add `cc.Menu.extend = cc.Class.extend;` in jsb_cocos2d.js
OK, I try it, Thanks very much!