1
0
mirror of https://github.com/MontFerret/ferret.git synced 2024-12-14 11:23:02 +02:00

Formatting

This commit is contained in:
Tim Voronov 2018-10-13 21:08:18 -04:00
parent 5f94b77a39
commit 91093d6d25
2 changed files with 2 additions and 2 deletions

View File

@ -700,7 +700,7 @@ func (doc *HTMLDocument) NavigateForward(skip values.Int, timeout values.Int) (v
func (doc *HTMLDocument) PrintToPDF(params *page.PrintToPDFArgs) (core.Value, error) {
ctx := context.Background()
reply, err := doc.client.Page.PrintToPDF(ctx, params)
if err != nil {
return values.None, err

View File

@ -33,6 +33,6 @@ func NewLib() map[string]core.Function {
"INNER_TEXT": InnerText,
"INNER_TEXT_ALL": InnerTextAll,
"SCREENSHOT": Screenshot,
"PDF": PDF,
"PDF": PDF,
}
}