Reputation: 1
I am trying to build a prototype with pdfreactor. Can i use underscore templates to render my html content? If not.. Is there an alternative?
Upvotes: -3
Views: 465
Reputation: 301
Yes, underscore.js should work in PDFreactor. As Björn wrote in his answer you MUST explicitly enable JavaScript. PDFreactor does not process JavaScript by default.
Upvotes: -1
Reputation: 3418
Have you done as it says in the JavaScript section in the manual? It says you must enable JavaScript, like this:
pdfReactor.setJavaScriptMode(PDFreactor.JAVASCRIPT_MODE_ENABLED);
Upvotes: 0