mirror of
https://github.com/JuanCanham/HackMyResume.git
synced 2025-06-07 04:56:13 +01:00
Annotate Phantom gen method.
This commit is contained in:
@ -51,6 +51,7 @@ Definition of the HtmlPdfGenerator class.
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
Generate a PDF from HTML using Phantom.
|
Generate a PDF from HTML using Phantom.
|
||||||
|
See: https://github.com/ariya/phantomjs/blob/master/examples/rasterize.js
|
||||||
*/
|
*/
|
||||||
phantom: function( markup, fOut ) {
|
phantom: function( markup, fOut ) {
|
||||||
require('phantom').create( function( ph ) {
|
require('phantom').create( function( ph ) {
|
||||||
|
Reference in New Issue
Block a user