This repository was archived by the owner on May 29, 2018. It is now read-only.
Update on pull #9 - use HTML5 download attribute when available#20
Closed
wwuck wants to merge 7 commits intohighcharts:masterfrom
wwuck:patch-2
Closed
Update on pull #9 - use HTML5 download attribute when available#20wwuck wants to merge 7 commits intohighcharts:masterfrom wwuck:patch-2
wwuck wants to merge 7 commits intohighcharts:masterfrom
wwuck:patch-2
Conversation
Updates borrowed from raveren/export-csv
added 3 commits
August 18, 2014 11:30
Change data URI mime type to "text/csv". Add UTF-8 as specific charset to data URI. Fix for returning CSV and setting default URL. Fixes #20
Contributor
Author
|
Updated examples at http://jsfiddle.net/cqjvD/361/ and http://jsfiddle.net/7uLy3rs2/1/. Setting filename correctly on older browsers requires the updated csv.php. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This updates the changes in #9 to check for existence of download attribute on and use the existing server-post if the download attribute doesn't exist.
Also adds support for a custom csv.php url.