From 80f97468b6d437aa23f0381c145b43c483cbcc8d Mon Sep 17 00:00:00 2001 From: Christian Flach Date: Mon, 30 Mar 2015 16:54:08 +0200 Subject: [PATCH] Removed result variable for file parsing. --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);
 	}