From 2b0e51bdbaa0f0e589c8a24e358a7739e70f38dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Paul=20O=E2=80=99Shannessy?= Date: Fri, 11 Jul 2014 10:36:38 -0700 Subject: [PATCH] Add String.prototype.trim to polyfill check Also shortens the URL so it fits on 1 line --- src/browser/ui/React.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/browser/ui/React.js b/src/browser/ui/React.js index 1fed30808e..45265efba1 100644 --- a/src/browser/ui/React.js +++ b/src/browser/ui/React.js @@ -104,6 +104,7 @@ if (__DEV__) { Function.prototype.bind, Object.keys, String.prototype.split, + String.prototype.trim, // shams Object.create, @@ -114,8 +115,7 @@ if (__DEV__) { if (!expectedFeatures[i]) { console.error( 'One or more ES5 shim/shams expected by React are not available: ' + - 'http://facebook.github.io/react/docs/working-with-the-browser.html' + - '#polyfills-needed-to-support-older-browsers' + 'http://fb.me/react-warning-polyfills' ); break; }