From e0dd388f7091aac8eadaae4803df7fb747ec0b59 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Garc=C3=ADa?= Date: Sun, 15 Oct 2017 11:40:10 -0400 Subject: [PATCH] cherry picked shorten array view TODO needs CSS for ':' and '=' to look good --- lib/engines/dbgp/dbgp-instance.coffee | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/engines/dbgp/dbgp-instance.coffee b/lib/engines/dbgp/dbgp-instance.coffee index 1e8967b..83ba8b5 100644 --- a/lib/engines/dbgp/dbgp-instance.coffee +++ b/lib/engines/dbgp/dbgp-instance.coffee @@ -443,10 +443,10 @@ class DbgpInstance extends DebugContext type: variable.$.type } - if variable.$.fullname? - datum.label = variable.$.fullname - else if variable.$.name? + if variable.$.name? datum.label = variable.$.name + else if variable.$.fullname? + datum.label = variable.$.fullname switch variable.$.type when "string"