Skip to content

Commit 38c50a7

Browse files
committed
Size finder tool tweak
1 parent 7b34671 commit 38c50a7

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

size-finder-tool/index.html

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,10 @@
103103

104104
}
105105
}
106-
$('#json').html(JSON.stringify(obj, undefined, 4));
106+
if (!$.isEmptyObject(obj)) {
107+
obj = { "regular": obj };
108+
$('#json').html(JSON.stringify(obj, undefined, 4));
109+
}
107110
}
108111
</script>
109112

0 commit comments

Comments
 (0)