()
| 938 | } |
| 939 | |
| 940 | function exitFullscreen() { |
| 941 | if (document.exitFullscreen) { |
| 942 | document.exitFullscreen(); |
| 943 | } else if (document.mozCancelFullScreen) { |
| 944 | document.mozCancelFullScreen(); |
| 945 | } else if (document.webkitExitFullscreen) { |
| 946 | document.webkitExitFullscreen(); |
| 947 | } else if (document.msExitFullscreen) { |
| 948 | document.msExitFullscreen(); |
| 949 | } |
| 950 | } |
| 951 | |
| 952 | /** |
| 953 | * Returns the sketch's current |