Skip to content
This repository has been archived by the owner on Jul 25, 2021. It is now read-only.

Commit

Permalink
v3.3.12 - fix export does not work on IE, closes #43, (patch: v1.3.6 …
Browse files Browse the repository at this point in the history
…- FileSaver.js)
  • Loading branch information
clarketm committed May 2, 2017
1 parent 0d5f936 commit d635e4b
Show file tree
Hide file tree
Showing 10 changed files with 20 additions and 26 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "tableexport.js",
"version": "3.3.11",
"version": "3.3.12",
"authors": [
"clarketm <[email protected]>"
],
Expand Down
2 changes: 1 addition & 1 deletion dist/css/tableexport.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* TableExport.js v3.3.11 (https://www.travismclarke.com)
* TableExport.js v3.3.12 (https://www.travismclarke.com)
* Copyright 2017 Travis Clarke
* Licensed under the MIT license
*/
Expand Down
2 changes: 1 addition & 1 deletion dist/css/tableexport.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 5 additions & 8 deletions dist/js/tableexport.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* TableExport.js v3.3.11 (https://www.travismclarke.com)
* TableExport.js v3.3.12 (https://www.travismclarke.com)
* Copyright 2017 Travis Clarke
* Licensed under the MIT license
*/
Expand Down Expand Up @@ -315,7 +315,7 @@
* Version.
* @memberof TableExport.prototype
*/
version: "3.3.11",
version: "3.3.12",
/**
* Default plugin options.
* @memberof TableExport.prototype
Expand Down Expand Up @@ -568,12 +568,9 @@

data = this.string2ArrayBuffer(wbout);
}
var blob = new Blob([data], {type: mime + ";" + this.charset});
if (typeof saveAs === "undefined" && typeof navigator !== "undefined" && navigator.msSaveOrOpenBlob) {
window.navigator.msSaveOrOpenBlob(blob, name + extension);
} else {
saveAs(blob, name + extension, true);
}
saveAs(new Blob([data],
{type: mime + ";" + this.charset}),
name + extension, true);
},
/**
* Updates the plugin instance with new/updated options
Expand Down
4 changes: 2 additions & 2 deletions dist/js/tableexport.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "tableexport",
"version": "3.3.11",
"version": "3.3.12",
"authors": [
"clarketm <[email protected]>"
],
Expand Down
2 changes: 1 addition & 1 deletion src/stable/css/tableexport.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* TableExport.js v3.3.11 (https://www.travismclarke.com)
* TableExport.js v3.3.12 (https://www.travismclarke.com)
* Copyright 2017 Travis Clarke
* Licensed under the MIT license
*/
Expand Down
2 changes: 1 addition & 1 deletion src/stable/css/tableexport.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 5 additions & 8 deletions src/stable/js/tableexport.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* TableExport.js v3.3.11 (https://www.travismclarke.com)
* TableExport.js v3.3.12 (https://www.travismclarke.com)
* Copyright 2017 Travis Clarke
* Licensed under the MIT license
*/
Expand Down Expand Up @@ -315,7 +315,7 @@
* Version.
* @memberof TableExport.prototype
*/
version: "3.3.11",
version: "3.3.12",
/**
* Default plugin options.
* @memberof TableExport.prototype
Expand Down Expand Up @@ -568,12 +568,9 @@

data = this.string2ArrayBuffer(wbout);
}
var blob = new Blob([data], {type: mime + ";" + this.charset});
if (typeof saveAs === "undefined" && typeof navigator !== "undefined" && navigator.msSaveOrOpenBlob) {
window.navigator.msSaveOrOpenBlob(blob, name + extension);
} else {
saveAs(blob, name + extension, true);
}
saveAs(new Blob([data],
{type: mime + ";" + this.charset}),
name + extension, true);
},
/**
* Updates the plugin instance with new/updated options
Expand Down
4 changes: 2 additions & 2 deletions src/stable/js/tableexport.min.js

Large diffs are not rendered by default.

0 comments on commit d635e4b

Please sign in to comment.