hooray001
hooray001

Reputation: 1

Can i use underscore.js in the javascript with pdfreactor?

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

Answers (2)

realobjects
realobjects

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

Björn
Björn

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

Related Questions