Merge pull request #387 from arasabbasi/patch-1

Fix RollUp-Error because of This is Undefined Rewrite
This commit is contained in:
Eli Grey
2018-01-12 04:56:18 -08:00
committed by GitHub
+4 -2
View File
@@ -1,7 +1,7 @@
/* FileSaver.js
* A saveAs() FileSaver implementation.
* 1.3.2
* 2016-06-16 18:25:19
* 1.3.3
* 2018-01-12 13:14:0
*
* By Eli Grey, http://eligrey.com
* License: MIT
@@ -173,7 +173,9 @@ var saveAs = saveAs || (function(view) {
}(
typeof self !== "undefined" && self
|| typeof window !== "undefined" && window
|| typeof global !== "undefined" && global
|| this.content
|| this
));
// `self` is undefined in Firefox for Android content script context
// while `this` is nsIContentFrameMessageManager