From fe42ec4055a28e005839b99ad12eb7a6d31d06d7 Mon Sep 17 00:00:00 2001 From: Aras Abbasi Date: Fri, 12 Jan 2018 13:46:49 +0100 Subject: [PATCH] Update FileSaver.js --- FileSaver.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/FileSaver.js b/FileSaver.js index f02ca47..74b31c9 100644 --- a/FileSaver.js +++ b/FileSaver.js @@ -174,8 +174,8 @@ var saveAs = saveAs || (function(view) { typeof self !== "undefined" && self || typeof window !== "undefined" && window || typeof global !== "undefined" && global - || Function('return this.content')() - || Function('return this')() + || this.content + || this )); // `self` is undefined in Firefox for Android content script context // while `this` is nsIContentFrameMessageManager