facebook/react — pull request #1404 by chenglou (2014-04-12 23:45:58+00:00)
Title: Fix PropType for travis

Travis uses a version of phantom that recognizes the type of a regexp as
a function (callable in certain environments) rather than an object.
This fixes the check.