Jonas Jenwald f620f61887 Change src/core/jpx.js to use the error utility function instead of using throw new Error
Note that in `parseCodestream` I purposly left the `throw new Error` instances inside of the `try` block, since we don't want to throw any `Errors` while in recovery mode.
Finally somewhat unrelated to the rest of the patch, but I moved the `doNotRecover` variable declaration outside of the `try` block to avoid variable hoisting given that it's accessed inside the `catch` block.
2016-09-12 11:05:43 +02:00
..
2016-04-27 16:14:33 -05:00
2016-07-17 14:33:41 +02:00
2016-05-11 16:11:13 +02:00
2016-01-28 11:32:59 -06:00
2016-07-17 14:33:41 +02:00
2016-01-28 11:32:59 -06:00
2016-07-17 14:33:41 +02:00
2015-12-16 23:52:16 +01:00
2016-01-28 12:11:46 -06:00
2016-07-17 14:33:41 +02:00