aboutsummaryrefslogtreecommitdiffstats
path: root/jsre/jsre.go
diff options
context:
space:
mode:
authorJeffrey Wilcke <jeffrey@ethereum.org>2015-08-17 20:55:09 +0800
committerJeffrey Wilcke <jeffrey@ethereum.org>2015-08-17 20:55:09 +0800
commit12805c738c2d1132ac042ad75e532607f7130a17 (patch)
treed2e49f98855fa1ba4073fa6cea6afc7934283db3 /jsre/jsre.go
parentf6367548e4a28fcadbb6f669aa39d27109c07a56 (diff)
parent1086e2f298215cb0d4973a2c10ae9c9c8fd38462 (diff)
downloadgo-tangerine-12805c738c2d1132ac042ad75e532607f7130a17.tar.gz
go-tangerine-12805c738c2d1132ac042ad75e532607f7130a17.tar.zst
go-tangerine-12805c738c2d1132ac042ad75e532607f7130a17.zip
Merge pull request #1667 from fjl/pretty-printer-improvements
jsre: pretty printer improvements
Diffstat (limited to 'jsre/jsre.go')
-rw-r--r--jsre/jsre.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/jsre/jsre.go b/jsre/jsre.go
index bb0cc71ed..0db9e33fc 100644
--- a/jsre/jsre.go
+++ b/jsre/jsre.go
@@ -66,6 +66,7 @@ func New(assetPath string) *JSRE {
re.loopWg.Add(1)
go re.runEventLoop()
re.Set("loadScript", re.loadScript)
+ re.Set("inspect", prettyPrintJS)
return re
}