@m5r/eventsource-polyfill
Advanced tools
| /* | ||
| * CommonJS module that exports EventSource polyfill version 0.9.7 | ||
| * CommonJS module that exports EventSource polyfill version 0.9.8 | ||
| * This module is intended for browser side use | ||
@@ -20,5 +20,6 @@ * ===================================================================== | ||
| window.EventSource = PolyfillEventSource; | ||
| if (console){ | ||
| console.log("polyfill-eventsource added missing EventSource to window"); | ||
| // Don't break IE < 10 | ||
| if (typeof console !== "undefined" && typeof console.log !== "undefined"){ | ||
| console.log("polyfill-eventsource added missing EventSource to window"); | ||
| } | ||
| } |
| /* | ||
| * EventSource polyfill version 0.9.7 | ||
| * EventSource polyfill version 0.9.8 | ||
| * Supported by sc AmvTek srl | ||
@@ -8,3 +8,3 @@ * :email: devel@amvtek.com | ||
| if (global.EventSource && !global._eventSourceImportPrefix){ | ||
| if (!global || global.EventSource && !global._eventSourceImportPrefix){ | ||
| return; | ||
@@ -11,0 +11,0 @@ } |
+1
-1
| { | ||
| "name": "@m5r/eventsource-polyfill", | ||
| "version": "0.9.8", | ||
| "version": "0.9.9", | ||
| "description": "A browser polyfill for W3C EventSource (http://www.w3.org/TR/eventsource/)", | ||
@@ -5,0 +5,0 @@ "main": "dist/browserify-eventsource.js", |
22729
0.47%474
0.21%