@samitouri / QOS-React-2 / commits / 2b0e51bdba

Add String.prototype.trim to polyfill check

Also shortens the URL so it fits on 1 line

Paul O’Shannessy committed Jul 11, 2014 at 10:36 UTC 2b0e51bdbaa0f0e589c8a24e358a7739e70f38dc
1 file changed +2 -2
src/browser/ui/React.js
+2 -2
@@ -104,6 +104,7 @@ if (__DEV__) {
104 Function.prototype.bind,
105 Object.keys,
106 String.prototype.split,
107 + String.prototype.trim,
108
109 // shams
110 Object.create,
@@ -114,8 +115,7 @@ if (__DEV__) {
115 if (!expectedFeatures[i]) {
116 console.error(
117 'One or more ES5 shim/shams expected by React are not available: ' +
117 - 'http://facebook.github.io/react/docs/working-with-the-browser.html' +
118 - '#polyfills-needed-to-support-older-browsers'
118 + 'http://fb.me/react-warning-polyfills'
119 );
120 break;
121 }