I succeed to bind a class and i can call it in the cocos2d-jsb.js using javascript.
cc.log("I am pusing");
var ls = ls.GameCenterBridge.create();
ls.pushscore("30","scoreboard");
ls.showleaderboard();
But when i try this in the scene js, it says ls is undefined.
so, how to call self-made binding functions in scene js ?