eugeneware / eugeneware/html2png
error on example
Open
- Dominant language
- JavaScript
- Stars
- 29
- Forks
- 3
- PR merge metrics
- No merged PRs in 30d
Description
in this example **cb** and **done** is undefined,
``
screenshot.render('Hello', function (err, data) {
// If there is an error close the web browser first before calling the
// errback
if (err) return screenshot.error(err, **cb**);
// data will contain a screenshot of the HTML as a node.js Buffer
console.log(data);
//
// Close the web browser (phantomjs or chrome)
screenshot.close(**done**);
});
``
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.