Expand entire data structure

This commit is contained in:
chris (daiyi) 2017-09-19 13:39:03 +02:00 committed by Daniel Compton
parent 64815b3aa6
commit 32f5699f7f
3 changed files with 9 additions and 5 deletions

View File

@ -456,10 +456,10 @@
color: #8f8f8f; color: #8f8f8f;
content: "}"; content: "}";
} }
#--re-frame-trace-- .re-frame-trace--object {
display: block;
}
#--re-frame-trace-- .re-frame-trace--object:before { #--re-frame-trace-- .re-frame-trace--object:before {
color: #8f8f8f; color: #8f8f8f;
content: "▶ "; content: "▶ ";
} }
#--re-frame-trace-- .re-frame-trace--object > span {
vertical-align: text-top;
}

View File

@ -579,6 +579,10 @@
color: @text-color-muted; color: @text-color-muted;
content: "▶ "; content: "▶ ";
} }
display: block; // display: block;
&>span {
vertical-align: text-top;
}
} }
} }

View File

@ -53,7 +53,7 @@
(cond (cond
(array? jsonml) (if (= "object" (get jsonml 0)) (array? jsonml) (if (= "object" (get jsonml 0))
[:span.re-frame-trace--object [:span.re-frame-trace--object
(jsonml->hiccup (cljs-devtools/header-api-call (jsonml->hiccup (cljs-devtools/body-api-call
(.-object (get jsonml 1)) (.-object (get jsonml 1))
(.-config (get jsonml 1))))] (.-config (get jsonml 1))))]
(mapv jsonml->hiccup jsonml)) (mapv jsonml->hiccup jsonml))