@samitouri / QOS-React-2 / commits / 5ddd307c5e

Updating `es5-shim` URL

Jordan Harband committed Apr 9, 2015 at 13:51 UTC 5ddd307c5ef4ade54dabe7c17a3df011a8196606
1 file changed +3 -3
docs/docs/08-working-with-the-browser.md
+3 -3
@@ -105,12 +105,12 @@ _Mounted_ composite components also support the following methods:
105
106 At Facebook, we support older browsers, including IE8. We've had polyfills in place for a long time to allow us to write forward-thinking JS. This means we don't have a bunch of hacks scattered throughout our codebase and we can still expect our code to "just work". For example, instead of seeing `+new Date()`, we can just write `Date.now()`. Since the open source React is the same as what we use internally, we've carried over this philosophy of using forward thinking JS.
107
108 -In addition to that philosophy, we've also taken the stance that we, as authors of a JS library, should not be shipping polyfills as a part of our library. If every library did this, there's a good chance you'd be sending down the same polyfill multiple times, which could be a sizable chunk of dead code. If your product needs to support older browsers, chances are you're already using something like [es5-shim](https://github.com/kriskowal/es5-shim).
108 +In addition to that philosophy, we've also taken the stance that we, as authors of a JS library, should not be shipping polyfills as a part of our library. If every library did this, there's a good chance you'd be sending down the same polyfill multiple times, which could be a sizable chunk of dead code. If your product needs to support older browsers, chances are you're already using something like [es5-shim](https://github.com/es-shims/es5-shim).
109
110
111 ### Polyfills Needed to Support Older Browsers
112
113 -`es5-shim.js` from [kriskowal's es5-shim](https://github.com/kriskowal/es5-shim) provides the following that React needs:
113 +`es5-shim.js` from [kriskowal's es5-shim](https://github.com/es-shims/es5-shim) provides the following that React needs:
114
115 * `Array.isArray`
116 * `Array.prototype.every`
@@ -123,7 +123,7 @@ In addition to that philosophy, we've also taken the stance that we, as authors
123 * `String.prototype.split`
124 * `String.prototype.trim`
125
126 -`es5-sham.js`, also from [kriskowal's es5-shim](https://github.com/kriskowal/es5-shim), provides the following that React needs:
126 +`es5-sham.js`, also from [kriskowal's es5-shim](https://github.com/es-shims/es5-shim), provides the following that React needs:
127
128 * `Object.create`
129 * `Object.freeze`