aboutsummaryrefslogtreecommitdiffstats
path: root/internal
diff options
context:
space:
mode:
authorbas-vk <bas-vk@users.noreply.github.com>2016-07-25 16:07:05 +0800
committerGitHub <noreply@github.com>2016-07-25 16:07:05 +0800
commit771655e3fee585ce4bc47dfaa279557c6c1c2421 (patch)
tree9071e157a54c40f06f0e5895643c82ca9a0b037a /internal
parent60cd5bf9397bd8331bce3bb1884524d43c31dbb5 (diff)
parent91b769042857f542b2792b23ec407e1c9bd4fe8d (diff)
downloadgo-tangerine-771655e3fee585ce4bc47dfaa279557c6c1c2421.tar
go-tangerine-771655e3fee585ce4bc47dfaa279557c6c1c2421.tar.gz
go-tangerine-771655e3fee585ce4bc47dfaa279557c6c1c2421.tar.bz2
go-tangerine-771655e3fee585ce4bc47dfaa279557c6c1c2421.tar.lz
go-tangerine-771655e3fee585ce4bc47dfaa279557c6c1c2421.tar.xz
go-tangerine-771655e3fee585ce4bc47dfaa279557c6c1c2421.tar.zst
go-tangerine-771655e3fee585ce4bc47dfaa279557c6c1c2421.zip
Merge pull request #2808 from fjl/rpc-client-3
rpc: add new client, use it everywhere
Diffstat (limited to 'internal')
-rw-r--r--internal/jsre/pretty.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/jsre/pretty.go b/internal/jsre/pretty.go
index 30d8660ff..f32e16243 100644
--- a/internal/jsre/pretty.go
+++ b/internal/jsre/pretty.go
@@ -116,7 +116,7 @@ func (ctx ppctx) printValue(v otto.Value, level int, inArray bool) {
func (ctx ppctx) printObject(obj *otto.Object, level int, inArray bool) {
switch obj.Class() {
- case "Array":
+ case "Array", "GoArray":
lv, _ := obj.Get("length")
len, _ := lv.ToInteger()
if len == 0 {