I'm guessing printing is a major use case for prawn-js. If so, would
it make sense to add an "add_print_js" method (whatever the method
name) to prawn-js? Or to make a prawn-print with prawn-js as a
dependency? Or simply a prawn-print without that dependency, as
prawn-js is very little code?
Happy to contribute it once I know where people think it should go.
There is print code in one of the prawn-js examples but it seems like
something you shouldn't need to define yourself.
"add_print_js" is probably a good name, analogous to method names in prawn-js.
This is the method we use currently:
http://gist.github.com/244164
If someone uses prawn-js for other things than printing, it would be
very interesting to hear what that is, by the way.