Skip to content

Commit

Permalink
#29 fixed csv export filename.
Browse files Browse the repository at this point in the history
  • Loading branch information
itayw committed Oct 25, 2015
1 parent 5c27c17 commit 8e45d18
Show file tree
Hide file tree
Showing 6 changed files with 41,930 additions and 4 deletions.
5 changes: 5 additions & 0 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,10 @@ module.exports = function (grunt) {
main: {
src: 'build/temp/joola.css',
dest: 'build/release/joola.css'
},
shim: {
src: 'build/temp/joola.js',
dest: 'build/release/joola.shim.js'
}
},

Expand Down Expand Up @@ -196,6 +200,7 @@ module.exports = function (grunt) {
grunt.registerTask('default', ['clean', 'http', 'jshint', 'browserify', 'concat', 'uglify', 'cssmin', 'copy']); //'csslint',
grunt.registerTask('build', ['browserify', 'concat', 'copy']);
grunt.registerTask('dev', ['build', 'cssmin','watch']);
grunt.registerTask('shim', ['browserify','copy:shim']);
grunt.registerTask('css', ['concat', 'cssmin', 'copy']); //'csslint',
grunt.registerTask('test', ['default', 'connect', 'mocha']);
grunt.registerTask('test:bare', ['connect', 'mocha']);
Expand Down
2 changes: 1 addition & 1 deletion build/release/joola.js
Original file line number Diff line number Diff line change
Expand Up @@ -43263,7 +43263,7 @@ var Table = module.exports = function (options, callback) {
var encodedUri = encodeURI(csvContent);
var link = document.createElement("a");
link.setAttribute("href", encodedUri);
link.setAttribute("download", "Odobo_Analytics.csv");
link.setAttribute("download", "analytics.csv");
link.click(); // This will download the data file named "my_data.csv".
});
};
Expand Down
2 changes: 1 addition & 1 deletion build/release/joola.min.css

Large diffs are not rendered by default.

41,921 changes: 41,921 additions & 0 deletions build/release/joola.shim.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion build/temp/joola.js
Original file line number Diff line number Diff line change
Expand Up @@ -39665,7 +39665,7 @@ var Table = module.exports = function (options, callback) {
var encodedUri = encodeURI(csvContent);
var link = document.createElement("a");
link.setAttribute("href", encodedUri);
link.setAttribute("download", "Odobo_Analytics.csv");
link.setAttribute("download", "analytics.csv");
link.click(); // This will download the data file named "my_data.csv".
});
};
Expand Down
2 changes: 1 addition & 1 deletion src/lib/viz/Table.js
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ var Table = module.exports = function (options, callback) {
var encodedUri = encodeURI(csvContent);
var link = document.createElement("a");
link.setAttribute("href", encodedUri);
link.setAttribute("download", "Odobo_Analytics.csv");
link.setAttribute("download", "analytics.csv");
link.click(); // This will download the data file named "my_data.csv".
});
};
Expand Down

0 comments on commit 8e45d18

Please sign in to comment.