facebook/react — pull request #2653 by salier (2014-12-03 22:10:37+00:00)
Title: Use getSelection in IE where available

IE9+ has support for window.getSelection, but we’re still using
document.selection for IE9/10. Only use the old IE selection API if the
modern one is unavailable.