From f93ab972205ed308873c74a67257e6720a78c897 Mon Sep 17 00:00:00 2001 From: Matthew Holt Date: Tue, 18 Nov 2014 21:55:57 -0700 Subject: [PATCH] Using latest (4.0.1) --- resources/js/papaparse.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/resources/js/papaparse.js b/resources/js/papaparse.js index 6190844..99d1346 100644 --- a/resources/js/papaparse.js +++ b/resources/js/papaparse.js @@ -1,6 +1,6 @@ /* Papa Parse - v4.0.0 + v4.0.1 https://github.com/mholt/PapaParse */ (function(global) @@ -85,7 +85,11 @@ function parseNextFile() { if (queue.length == 0) + { + if (isFunction(options.complete)) + options.complete(); return; + } var f = queue[0];