title: requestAnimationFrame - Tell when browser loses focus
body: <p>From what I have read requestAnimationFrame can tell when the browser loses focus. Is there some kind of event that fires when this occurs? I'm looking to pause and resume code in connection with requestAnimationFrame.</p>