Using msSaveBlob instead of msSaveOrOpenBlob
This commit is contained in:
+2
-2
@@ -1,6 +1,6 @@
|
|||||||
/* FileSaver.js
|
/* FileSaver.js
|
||||||
* A saveAs() FileSaver implementation.
|
* A saveAs() FileSaver implementation.
|
||||||
* 2012-12-11
|
* 2013-01-23
|
||||||
*
|
*
|
||||||
* By Eli Grey, http://eligrey.com
|
* By Eli Grey, http://eligrey.com
|
||||||
* License: X11/MIT
|
* License: X11/MIT
|
||||||
@@ -14,7 +14,7 @@
|
|||||||
/*! @source http://purl.eligrey.com/github/FileSaver.js/blob/master/FileSaver.js */
|
/*! @source http://purl.eligrey.com/github/FileSaver.js/blob/master/FileSaver.js */
|
||||||
|
|
||||||
var saveAs = saveAs
|
var saveAs = saveAs
|
||||||
|| (navigator.msSaveOrOpenBlob && navigator.msSaveOrOpenBlob.bind(navigator))
|
|| (navigator.msSaveBlob && navigator.msSaveBlob.bind(navigator))
|
||||||
|| (function(view) {
|
|| (function(view) {
|
||||||
"use strict";
|
"use strict";
|
||||||
var
|
var
|
||||||
|
|||||||
Reference in New Issue
Block a user