eventsource
Advanced tools
Comparing version 1.0.4 to 1.0.5
@@ -1,2 +0,9 @@ | ||
window.EventSourcePolyfill = require('./eventsource') | ||
window.EventSource = window.EventSource || window.EventSourcePolyfill | ||
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 | ||
} |
{ | ||
"name": "eventsource", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"description": "W3C compliant EventSource client for Node.js and browser (polyfill)", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
579355
9035