Update to upstream

Update current file content to keep consistency
with upstream file.

Change-Id: Ic269113b135db0739be72fa6857eae7c37f0159b
This commit is contained in:
Xinni Ge 2018-04-09 16:14:23 +09:00
parent 35bd4c19ea
commit d767a51486

View File

@ -31,7 +31,7 @@ var saveAs = saveAs || (function(view) {
var event = new MouseEvent("click");
node.dispatchEvent(event);
}
, is_safari = /constructor/i.test(view.HTMLElement) || view.safari
, is_safari = /constructor/i.test(view.HTMLElement)
, is_chrome_ios =/CriOS\/[\d]+/.test(navigator.userAgent)
, throw_outside = function(ex) {
(view.setImmediate || view.setTimeout)(function() {
@ -182,7 +182,7 @@ var saveAs = saveAs || (function(view) {
if (typeof module !== "undefined" && module.exports) {
module.exports.saveAs = saveAs;
} else if ((typeof define !== "undefined" && define !== null) && (define.amd !== null)) {
define("FileSaver.js", function() {
define([], function() {
return saveAs;
});
}
}