diff options
Diffstat (limited to 'js.go')
| -rw-r--r-- | js.go | 8 |
1 files changed, 1 insertions, 7 deletions
@@ -10,11 +10,9 @@ import ( "fmt" "math/rand" "strings" - "time" - - "flyscrape/js" "github.com/evanw/esbuild/pkg/api" + "github.com/philippta/flyscrape/js" v8 "rogchap.com/v8go" ) @@ -28,10 +26,6 @@ func (err TransformError) Error() string { return fmt.Sprintf("%d:%d: %s", err.Line, err.Column, err.Text) } -func init() { - rand.Seed(time.Now().UnixNano()) -} - func Compile(src string) (ScrapeOptions, ScrapeFunc, error) { src, err := build(src) if err != nil { |