prince: /path/to/application.js:38034: error: unexpected token keyword("delete")
Does anyone have any idea why this is throwing an error or how to work around it?
I think we can fix this issue shortly. Which platform are you running Prince on? We can create an updated alpha build for you to try.
Thanks for the speedy response! When I used that workaround for all the keywords (I've listed all the ones I ran into at the bottom of this response in case you're interested), I ran into a new issue:
prince: /path/to/application.js:9237: error: TypeError: undefined value is not an object
Unfortunately, that line is minified Angular, so it's impossible to debug. The new plan is to generate the HTML with Node, then pass the static HTML to Prince.
As I mentioned, other keyword errors I ran into are "finally" (as a method on an object), "int" (in a function's scope), "class" (as a method on an object), and "new" (as a key in an object).
. Thanks for letting us know about it!