Tcsm
2023-09-19 b35a804358de7849f42bcdae934c236d13e3f233
1
2
3
4
5
6
7
8
9
var EventSource = require('./eventsource')
 
if (typeof window === 'object') {
  window.EventSourcePolyfill = EventSource
  if (!window.EventSource) window.EventSource = EventSource
  module.exports = window.EventSource
} else {
  module.exports = EventSource
}