facebook/react — pull request #2066 by chenglou (2014-08-19 04:43:54+00:00)
Title: Make enterleave plugin not depend on window level listener

Upcoming #2050 Will break this, so preventively fixing this independently. Tested on both that branch and master, everything works.