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
Matthew Holt
a126dd250e
Minor fix for some quotes; new test cases
10 years ago
Matthew Holt
22b312a77d
Invoke complete callback when parsing via jQuery ( fixes #111 )
10 years ago
Matthew Holt
e31c231dd7
Test cases for fast mode; preview fix
10 years ago
Matthew Holt
7a20d98190
New fast mode for inputs without quoted fields
10 years ago
Matthew Holt
8849468dee
Invoke error callback if browser throws exception on download ( fixes #110 )
10 years ago
Matthew Holt
3ea908439f
Rewrote core parser; speed improvements, more tests, bug fixes
10 years ago
Matthew Holt
2caa971ef6
Convert "TRUE"/"FALSE" to boolean with dynamicTyping; fixes #108
10 years ago
Matthew Holt
2eb67778cf
File streaming outside of workers, fix for Safari ( fixes #105 )
10 years ago
Matthew Holt
6589011209
Fix for file parsing in workers in Safari ( fixes #106 )
10 years ago
Giacomo Trezzi
4077d4b611
can't insert papaparse in script tag
...
this line prevents to include papaparse in an HTML <script> tag
no harm to others
10 years ago
Matthew Holt
8be82c0d62
Removed extra comment; fixed bug in player
10 years ago
Matthew Holt
e6556e09a0
Bump minor version after bug fix
10 years ago
Matthew Holt
13fb8fc05f
Bug fixes related to pause/resume and preview ( fixes #92 )
10 years ago
Matthew Holt
c69c0e4285
Removed naughty semicolon and trailing comma ( closes #84 )
11 years ago
Matthew Holt
ee1e667283
Bump version to 3.1.1 (hot fix release)
11 years ago
Matthew Holt
423e02c923
Handling extra fields with header row appropriately ( fixes #83 )
11 years ago
Matthew Holt
d862dd4854
Bump version to 3.1
11 years ago
Matthew Holt
b117772bc4
Pause, resume, and abort ( closes #26 )
11 years ago
Matthew Holt
7b3f5973ea
Error callback processed consistent with other config properties
11 years ago
Matthew Holt
159041331e
New Papa.DefaultDelimiter property
11 years ago
Matthew Holt
e4ed3b54ac
Preview count now adds 1 if using header row ( fixes #77 )
11 years ago
Matthew Holt
f3503b571c
Now indicating if preview consumed whole input ( closes #78 )
11 years ago
Vinicius Horewicz
6d21cbc11a
Treat JSON null as empty value
11 years ago