Quantcast
Channel: Appcelerator Developer Center Q&A Tag Feed (3.4.0)
Viewing all articles
Browse latest Browse all 66

Getting Node.js PDFkit working

$
0
0

Hey all, this seems like a really great commonJS module. It works in the browser and in node.js. For open source, it is one of the only javascript based PDF generators to support SVG graphic formatting.

http://pdfkit.org/

I took the web commonJS format hoping it might just work in Ti.

It looks like the way Titanium handles require() that not every function/method is being initialized. I get this error:

message = "'undefined' is not a function (evaluating 'this._line.bind(this)')";
If there is anyone who is used to converting commonJS modules over to the Ti world and might have some quick advise on how to get the internal dependancies working, I'd greatly appreciate it!

Thanks!


Viewing all articles
Browse latest Browse all 66

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>