Using msSaveBlob instead of msSaveOrOpenBlob

This commit is contained in:
Eli Grey
2013-01-23 21:57:30 -05:00
parent f8b520304b
commit a1389f0299
+3 -3
View File
@@ -1,6 +1,6 @@
/* FileSaver.js
* A saveAs() FileSaver implementation.
* 2012-12-11
* 2013-01-23
*
* By Eli Grey, http://eligrey.com
* License: X11/MIT
@@ -14,7 +14,7 @@
/*! @source http://purl.eligrey.com/github/FileSaver.js/blob/master/FileSaver.js */
var saveAs = saveAs
|| (navigator.msSaveOrOpenBlob && navigator.msSaveOrOpenBlob.bind(navigator))
|| (navigator.msSaveBlob && navigator.msSaveBlob.bind(navigator))
|| (function(view) {
"use strict";
var
@@ -212,4 +212,4 @@ var saveAs = saveAs
view.addEventListener("unload", process_deletion_queue, false);
return saveAs;
}(self));
}(self));