eventsource icon indicating copy to clipboard operation
eventsource copied to clipboard

confused about how this library is loaded , trying to get eventSourceInitDict to work....

Open hayden-t opened this issue 6 years ago • 1 comments

SO, tried setting eventSourceInitDict as per readme, and no effect, tried debugging to see how far its getting or not, but find no evidence of it. Further more even renaming lib/eventsource.js or putting a return in function EventSource() has no effect and examples still work and i cant see how im assuming your library/src file is loaded ??

hayden-t avatar May 30 '19 09:05 hayden-t

so to get this library used you need const eventsource = require('eventsource') at the top of the sse-server.js example

hayden-t avatar Jun 05 '19 03:06 hayden-t