Skip to content

Commit

Permalink
drop corejs
Browse files Browse the repository at this point in the history
  • Loading branch information
mstoykov committed Aug 12, 2020
1 parent 1ff8c9d commit 4b360e7
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 106 deletions.
7 changes: 0 additions & 7 deletions js/bundle.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ import (

"github.com/loadimpact/k6/js/common"
"github.com/loadimpact/k6/js/compiler"
jslib "github.com/loadimpact/k6/js/lib"
"github.com/loadimpact/k6/lib"
"github.com/loadimpact/k6/lib/consts"
"github.com/loadimpact/k6/loader"
Expand Down Expand Up @@ -276,12 +275,6 @@ func (b *Bundle) instantiate(rt *goja.Runtime, init *InitContext, vuID int64) er
rt.SetFieldNameMapper(common.FieldNameMapper{})
rt.SetRandSource(common.NewRandSource())

if init.compatibilityMode == lib.CompatibilityModeExtended {
if _, err := rt.RunProgram(jslib.GetCoreJS()); err != nil {
return err
}
}

exports := rt.NewObject()
rt.Set("exports", exports)
module := rt.NewObject()
Expand Down
10 changes: 0 additions & 10 deletions js/lib/core-js/shim.min.js

This file was deleted.

48 changes: 0 additions & 48 deletions js/lib/lib.go

This file was deleted.

41 changes: 0 additions & 41 deletions js/lib/rice-box.go

This file was deleted.

0 comments on commit 4b360e7

Please sign in to comment.