Browse Source

Removed extra comment; fixed bug in player

pull/100/head
Matthew Holt 11 years ago
parent
commit
8be82c0d62
  1. 1
      papaparse.js
  2. 4
      player/player.js

1
papaparse.js

@ -722,7 +722,6 @@ @@ -722,7 +722,6 @@
this.parse = function(input)
{
//_stepCounter = 0;
_delimiterError = false;
if (!_config.delimiter)
{

4
player/player.js

@ -96,7 +96,7 @@ function stepFn(results, parserHandle) @@ -96,7 +96,7 @@ function stepFn(results, parserHandle)
if ($('#step-pause').prop('checked'))
{
handle = parserHandle
handle = parserHandle;
console.log(results, results.data[0]);
parserHandle.pause();
}
@ -118,7 +118,7 @@ function errorFn(error, file) @@ -118,7 +118,7 @@ function errorFn(error, file)
function completeFn()
{
end = performance.now();
if (arguments[0] && arguments[0].data)
if (!$('#stream').prop('checked') && arguments[0] && arguments[0].data)
rows = arguments[0].data.length;
console.log("Finished input (async). Time:", end-start, arguments);

Loading…
Cancel
Save