Lines Matching refs:window
37 window.requestAnimFrame = (function(){
38 return window.requestAnimationFrame ||
39 window.webkitRequestAnimationFrame ||
40 window.mozRequestAnimationFrame ||
41 window.oRequestAnimationFrame ||
42 window.msRequestAnimationFrame ||
44 window.setTimeout(callback, 1000 / 60);
48 window.onload = init;
55 window.addEventListener("resize", handleResize, false);
57 window.requestAnimFrame(updateFrame);
61 canvasWidth = window.innerWidth;
62 canvasHeight = window.innerHeight;
81 window.requestAnimFrame(updateFrame);
104 // reach between 0.75x and 1x the height of the window