diff --git a/index.html b/index.html index ecc38ef..1412373 100644 --- a/index.html +++ b/index.html @@ -252,7 +252,7 @@ console.log(results.meta.delimiter);
Then give Papa a File instead of a string. Since file parsing is asynchronous, don't forget a callback.
-var results = Papa.parse(fileInput.files[0], {
+ Papa.parse(fileInput.files[0], {
complete: function(results) {
console.log(results);
}