Skip to content

Commit

Permalink
updated changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
LCluber committed Feb 28, 2019
2 parents 635f452 + 4e0a1c0 commit bf89925
Show file tree
Hide file tree
Showing 12 changed files with 56 additions and 46 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Version 0.1.6 (March 01st 2019)
-----------------------------
* Default name 'export.csv' if filename parameter is empty
* Default name to 'export.csv' if filename parameter is empty

Version 0.1.5 (February 11th 2019)
-----------------------------
Expand Down
4 changes: 4 additions & 0 deletions dist/csvx.iife.js
Original file line number Diff line number Diff line change
Expand Up @@ -379,6 +379,10 @@ var CSVx = (function (exports) {
return false;
}

if (!filename.trim().length) {
filename = 'export';
}

if (options) {
this.setOptions(options);
}
Expand Down
2 changes: 1 addition & 1 deletion dist/csvx.iife.min.js

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

3 changes: 3 additions & 0 deletions dist/csvx.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ class Export {
if (!Is.object(data[0]) && !Is.json(data[0])) {
return false;
}
if (!filename.trim().length) {
filename = 'export';
}
if (options) {
this.setOptions(options);
}
Expand Down
Loading

0 comments on commit bf89925

Please sign in to comment.