1
0
mirror of https://github.com/MontFerret/ferret.git synced 2025-07-17 01:32:22 +02:00

Added missed errors to HTMLElement interface (#375)

* Added missed errors to HTMLElement interface

* Fixed test suit
This commit is contained in:
Tim Voronov
2019-09-06 21:02:41 -04:00
committed by GitHub
parent 2d645434d8
commit c773509469
14 changed files with 134 additions and 121 deletions

View File

@ -21,7 +21,7 @@ func Element(ctx context.Context, args ...core.Value) (core.Value, error) {
return values.None, err
}
return el.QuerySelector(ctx, selector), nil
return el.QuerySelector(ctx, selector)
}
func queryArgs(args []core.Value) (drivers.HTMLElement, values.String, error) {