diff options
Diffstat (limited to 'js.go')
| -rw-r--r-- | js.go | 6 |
1 files changed, 0 insertions, 6 deletions
@@ -55,12 +55,6 @@ func (e Exports) Scrape(p ScrapeParams) (any, error) { return fn(p) } -func (e Exports) Setup() { - if fn, ok := e["setup"].(func(goja.FunctionCall) goja.Value); ok { - fn(goja.FunctionCall{}) - } -} - type Imports map[string]map[string]any func Compile(src string, imports Imports) (Exports, error) { |