leapmotion/leapjs — pull request #112 by rwaldron (2013-10-21 03:56:36+00:00)
Title: Fixes #111. Create actual focusListener and blurListener references for removal

I would've liked to include tests that spied on window.addEventListener and window.removeEventListener and compared the arguments for equality, but there is no mock/spy module in the project and wasn't sure if adding Sinon would be out of this bug's scope.

Signed-off-by: Rick Waldron