06ec396c7ae1 — Josiah Ulfers 4 years ago
Use strict
1 files changed, 2 insertions(+), 0 deletions(-)

M _static/test.html
M _static/test.html +2 -0
@@ 137,6 137,7 @@ hijack(window)
   <ol class="gotcha"></ol>
 </div>
 <script>
+'use strict'
 document.getElementById('gofullscreen').onclick = function () {
   var fullscreenable = document.getElementsByClassName('fullscreenable')[0]
   var requestFull = fullscreenable.requestFullscreen || fullscreenable.mozRequestFullScreen

          
@@ 158,6 159,7 @@ document.getElementById('exitfullscreen'
   <p>Click anywhere to release</p>
 </div>
 <script>
+'use strict'
 var pointerTrap = document.getElementsByClassName('pointerlock')[0]
 document.getElementById('trappointer').onclick = function () {
   pointerTrap.requestPointerLock()