The following code work fine with Chrome, but can’t run on Safari. Is it a bug or something wrong?
I use cocos2d-html5-v2.2 and Safari 6.0.1 (8536.26.14)
var nextScene = new HelloWorldScene();
cc.Director.getInstance().replaceScene(cc.TransitionPageTurn.create(1.2, nextScene));