Skip to content

Commit 4d6782a

Browse files
committed
Add tests & cleanup library
1 parent 3ea3cc3 commit 4d6782a

12 files changed

Lines changed: 372 additions & 372 deletions

File tree

Gruntfile.coffee

Lines changed: 0 additions & 38 deletions
This file was deleted.

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,9 @@ pdf(html, options).exec(function(err, res) {
2626

2727
## API
2828
```js
29-
pdf(html [, options], callback)
30-
pdf(html [, options]).exec(callback)
29+
pdf(html [, options]).toFile(callback)
3130
pdf(html [, options]).toBuffer(callback)
32-
pdf(html [, options]).toStream()
31+
pdf(html [, options]).toStream(callback)
3332

3433
// for backward compatibility
3534
pdf.create(html [, options], callback)

index.js

Lines changed: 0 additions & 2 deletions
This file was deleted.

lib/index.js

Lines changed: 26 additions & 22 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/pdf.js

Lines changed: 101 additions & 88 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)