bump minor version

This commit is contained in:
Jimmy Wärting
2019-05-14 10:00:17 +02:00
parent 71f266f93e
commit 1bc9ed39c4
7 changed files with 2598 additions and 13 deletions
+3 -6
View File
@@ -8,7 +8,6 @@
* source : http://purl.eligrey.com/github/FileSaver.js
*/
// The one and only way of getting global scope in all environments
// https://stackoverflow.com/q/3277182/1008999
var _global = typeof window === 'object' && window.window === window
@@ -50,15 +49,13 @@ function corsEnabled (url) {
// use sync to avoid popup blocker
xhr.open('HEAD', url, false)
try {
xhr.send();
}catch(e) {
return false;
}
xhr.send()
} catch (e) {}
return xhr.status >= 200 && xhr.status <= 299
}
// `a.click()` doesn't work for all browsers (#465)
function click(node) {
function click (node) {
try {
node.dispatchEvent(new MouseEvent('click'))
} catch (e) {