1
0
mirror of https://github.com/JuanCanham/HackMyResume.git synced 2024-11-16 13:50:10 +00:00
HackMyResume/dist/utils
hacksalot b26799f9fc Improve JSON error handling.
Add support for detection of invalid line breaks in JSON string values.
Fixes #137. Could be improved to fetch the column number and drop the
messy grabbing of the line number from the exception message via regex,
but currently the "jsonlint" library (not to be confused with
"json-lint") only emits an error string. Since this is also the library
that drives http://jsonlint.com, we'll accept the messy regex in return
for more robust error checking when our default json-lint path fails.

All of the above only necessary because standard JSON.parse error
handling is broken in all environments. : )
2016-02-12 17:11:11 -05:00
..
file-contains.js Asynchrony. 2016-02-01 22:52:13 -05:00
html-to-wpml.js Asynchrony. 2016-02-01 22:52:13 -05:00
md2chalk.js Asynchrony. 2016-02-01 22:52:13 -05:00
rasterize.js Asynchrony. 2016-02-01 22:52:13 -05:00
safe-json-loader.js Asynchrony. 2016-02-01 22:52:13 -05:00
safe-spawn.js Asynchrony. 2016-02-01 22:52:13 -05:00
string-transformer.js Asynchrony. 2016-02-01 22:52:13 -05:00
string.js Asynchrony. 2016-02-01 22:52:13 -05:00
syntax-error-ex.js Improve JSON error handling. 2016-02-12 17:11:11 -05:00