chrisdickinson/kb-controls — pull request #3 by hughsk (2013-09-01 13:43:31+00:00)
Title: Make kb-controls work from within an iframe.

Previously, listening to `document.body` for keyboard events would not work when running a game within an iframe.

By listening to `window.top.document.body` instead, it's still possible to pick up events when the iframe is running from the same domain. This'd mean that I can use kb-controls from requirebin :)