Skip to content

Commit

Permalink
Fixed #4774: auto full screen switch function added to cc.view in JSB
Browse files Browse the repository at this point in the history
  • Loading branch information
pandamicro committed Apr 13, 2014
1 parent 8a71b3c commit b2cad64
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions frameworks/js-bindings/bindings/script/jsb_boot.js
Original file line number Diff line number Diff line change
Expand Up @@ -576,6 +576,8 @@ cc.view.isRetinaEnabled = function() {
cc.view.adjustViewPort = function() {};
cc.view.resizeWithBrowserSize = function () {return;};
cc.view.setResizeCallback = function() {return;};
cc.view.enableAutoFullScreen = function () {return;};
cc.view.isAutoFullScreenEnabled = function() {return true;};

cc.eventManager = cc.director.getEventDispatcher();
cc.audioEngine = cc.AudioEngine.getInstance();
Expand Down

0 comments on commit b2cad64

Please sign in to comment.