jbzorg
cea69b4ac4
Fix newline option for delimiter autodetect
9 years ago
Breck
4ae5494901
Updated double equals to triple equals, removed whitespace at end of lines and standardized quotes.
9 years ago
Matthew Holt
6fe5c2b947
Patch version bump
10 years ago
Paul Harper
871a20db2e
Using PapaParse inside a worker
...
Fixes #188
10 years ago
Braden Anderson
69eeb71df6
handle empty quoted field at EOF
10 years ago
Tobias Bieniek
1e0d19a938
Replace plain comments with JSDoc comments
...
Some IDEs (i.e. IntelliJ/WebStorm) are able to extract and show them.
10 years ago
Matthew Holt
15451da06b
Change RequireJS wireup - fixes #209
10 years ago
ommar
9252fade22
Added with Credentials option to the config file
10 years ago
Matthew Holt
44cb0b04b5
Range header only if streaming; fixes #196
10 years ago
Jan Hesse
40f5ebcbf2
avoid division by zero
...
if preview didn't find a row, avgFieldCount will be NaN or Infinity
10 years ago
Antonio Fernández Porrúa
bc783fd4ab
More readable (I guess)
10 years ago
Matthew Holt
1c64d5c098
Refactored chunkIndex into isFirstChunk
10 years ago
Braden Anderson
b18bb8c888
beforeFirstChunk callback, fixes #186
10 years ago
Matthew Holt
04003739ad
Minor version bump, 4.1.1
10 years ago
antonio
6fcba4dc38
symetric parse and unparse
10 years ago
Mariano Carballal
0be4b502f0
Issue#8 Fix complete results with partial results
10 years ago
John MacAslan
77c3e6162f
updated tests to check complete is called after aborted
10 years ago
Braden Anderson
b038e4799e
read files in a single chunk for complete results ( #179 )
10 years ago
John MacAslan
208b229a3a
fixed support for aborting parsing
10 years ago
Matthew Holt
4efe5b68f9
Dynamic typing converts "TRUE" and "FALSE" to boolean
10 years ago
Rob Dupuis
ec4c72e5bf
Do not set IS_WORKER when PapaParse is loaded as a node module
...
The existing check, that there was no global.document, incorrectly identified PapaParse as running in a web worker when loaded by node. Checking for the availability of the postMessage() method (which we rely on already) fixes this, whilst not exposing us to any more of the WebWorker API.
10 years ago
Rob Dupuis
2d5c591d80
Add support for node module exports format
...
Backported from BabyParse
10 years ago
Rob Dupuis
ee17e59c43
Do not assign Papa to the global namespace if loaded with RequireJS
10 years ago
Rob Dupuis
7709cb5d07
Explicitly pass window as global context if it is available
...
This helps with Browserify / webpack integration see #167
10 years ago
Matthew Holt
347befde6c
Minor cleanups, and RequireJS integration fix
10 years ago
Matthew Holt
8f3f41b7c7
Allow multiple-char delimiters ( closes #160 )
10 years ago
Matt Nibecker
40d5be9eb3
Use isFunction method. Use anonymous define
10 years ago
Matthew Holt
0e0ee8dcfa
Build, version 4.1.0
10 years ago
Matthew Holt
41b0beb1db
fastMode: false now disables automatic fast mode
10 years ago
Matthew Holt
ebc78d08af
Default config no longer necessary
10 years ago
Matthew Holt
22d321095c
Cleanup and various minor fixes galore! ( #136 and #138 )
10 years ago
Matthew Holt
b0d2a6fcc3
Eliminated copyAndValidateConfig according to #145
10 years ago
Braden Anderson
e490c8d3f3
use fast mode automatically when safe
10 years ago
Matthew Holt
5c6011ef95
Nuked a couple now-unnecessary lines (see #138 )
10 years ago
Braden Anderson
57a7349c41
more refactoring: StringStreamer
10 years ago
Matt Nibecker
ffa5761e50
Making Papa require friendly. Added functionality to return Papa obj is app is using require
10 years ago
Braden Anderson
0785501b30
refactor common functionality of chunk streaming classes
10 years ago
Braden Anderson
889b30cfaf
allow aborting workers
10 years ago
Braden Anderson
089d188084
use parser to find last row end in chunks
10 years ago
Braden Anderson
be2c65385c
provide current cursor to step callback
10 years ago
Braden Anderson
d16c013b25
add build command
10 years ago
Ed Sanders
7dea98ebe4
Use DOMContentLoaded event, always try to use a worker so error is thrown
...
DOMContentLoaded event fires sooner fixing the body-async case.
If the user reqeusts a worker, try to use one even if no path is set
so that a helpful error is shown.
10 years ago
Ed Sanders
8d33f90c13
Check body exists before attaching load listener & rename flag to LOADED_SYNC
10 years ago
Matthew Holt
b1f12aef39
Strict equals in tight loop; added test case
10 years ago
Matthew Holt
f1eeb6f1ae
Fixed #121 , simplified quote handling logic (yay)
10 years ago
Ed Sanders
65388f3d50
Remove document.write for script path and allow external config
...
1. Use document.getElementsByTag name to find the script's path.
When used async, this fails by providing the wrong path instead
of failing catastrophically.
2. Detect if the script was loaded asynchronously by attaching a load
event to the body and seeing if it fires.
3. Evaluate the correct script path when it is requested. This gives
the user time to manually configuring it using the Papa.SCRIPT_PATH
global. If this isn't done and the script was loaded async, throw
a helpful error explaining how to fix.
10 years ago
Matthew Holt
1d8d406205
Undo Safari regression ( fixes #117 )
10 years ago
Matthew Holt
2afb936a7d
Fix #115
10 years ago
Matthew Holt
b209603bad
Fixed preview when streaming files
10 years ago
Matthew Holt
c483ced162
Strict compare comment char and delimiter
10 years ago