From cf70d125b048349fb084d8c8395ee790b83c685c Mon Sep 17 00:00:00 2001 From: Ben Ni Date: Tue, 16 Oct 2018 15:06:07 -0400 Subject: [PATCH] replaced the non-breaking space at with space This is causing IE to unable to recognize the { on line 49 --- src/FileSaver.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/FileSaver.js b/src/FileSaver.js index a874613..839da80 100644 --- a/src/FileSaver.js +++ b/src/FileSaver.js @@ -46,7 +46,7 @@ function download (url, name, opts) { xhr.onload = function () { saveAs(xhr.response, name, opts) } - xhr.onerror = function () { + xhr.onerror = function () { console.error('could not download file') } xhr.send()