traviscooper / node-wkhtml

Convert html to PDF or PNG format using the webkit rendering engine, and qt.
104 stars 17 forks source link

object.file but not object.filename in util.js #3

Closed gitawego closed 13 years ago

gitawego commented 13 years ago

in util.js at line 23 it should be :

command = command.concat(object.file || object.url);

but not

command = command.concat(object.filename || object.url);
mhemesath commented 13 years ago

No, filename is correct. The documentation is bad. I'll update that now.