Skip to content

Commit 68beec8

Browse files
committed
link to better ES polyfill
1 parent 4973a3f commit 68beec8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@ The LaunchDarkly client-side JavaScript SDK supports the following browsers:
2323
### EventSource Polyfill
2424

2525
If you need streaming support, and you wish to support browsers that do not support `EventSource` natively, you can install a polyfill, such
26-
as [eventsource](https://www.npmjs.com/package/eventsource).
26+
as [EventSource](https://github.com/Yaffle/EventSource).
2727

2828
You can load the polyfill via a script tag in the `<head>` before the script where you initialize `LDClient`:
2929

30-
<script src="/public/eventsource-polyfill.js"></script>
30+
<script src="/public/eventsource.js"></script>
3131

3232
If you use [webpack](https://webpack.github.io/) or [browserify](http://browserify.org/), make sure to require the polyfill before `LDClient` is initialized.
3333

0 commit comments

Comments
 (0)