mirror of
https://github.com/JuanCanham/HackMyResume.git
synced 2024-12-22 21:37:21 +00:00
b26799f9fc
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. : ) |
||
---|---|---|
.. | ||
file-contains.js | ||
html-to-wpml.js | ||
md2chalk.js | ||
rasterize.js | ||
safe-json-loader.js | ||
safe-spawn.js | ||
string-transformer.js | ||
string.js | ||
syntax-error-ex.js |