internal/jsre: fix built-in inspect function
inspect was broken by ffaf58f0a9
(May 2016!).
Looks like nobody uses this function.
This commit is contained in:
@ -71,7 +71,7 @@ func New(assetPath string, output io.Writer) *JSRE {
|
||||
}
|
||||
go re.runEventLoop()
|
||||
re.Set("loadScript", re.loadScript)
|
||||
re.Set("inspect", prettyPrintJS)
|
||||
re.Set("inspect", re.prettyPrintJS)
|
||||
return re
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user