Skip to content

Commit 54b3b68

Browse files
committed
revert markup changes in efe3401
Markup changes broke tests.
1 parent efe3401 commit 54b3b68

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/lib/devtools/formatters/markup.cljs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -253,8 +253,9 @@
253253
arities-markup (<arities> arities)
254254
name-markup (if-not lambda? [:fn-name-tag name])
255255
icon-markup (if lambda? :lambda-icon :fn-icon)
256-
preview-markup [:fn-header-tag icon-markup name-markup arities-markup]
257-
details-fn (partial <function-details> fn-obj ns name arities icon-markup name-markup)]
256+
prefix-markup [:fn-prefix-tag icon-markup name-markup]
257+
preview-markup [:fn-header-tag prefix-markup arities-markup]
258+
details-fn (partial <function-details> fn-obj ns name arities prefix-markup)]
258259
(<reference-surrogate> fn-obj preview-markup details-fn)))
259260

260261
; -- type markup ------------------------------------------------------------------------------------------------------------
@@ -281,6 +282,7 @@
281282
preview-markup [(or header-tag :type-header-tag) :type-symbol name-markup]
282283
details-markup-fn (partial <type-details> constructor-fn ns name basis)]
283284
[:type-wrapper-tag
285+
:type-header-background
284286
[:type-ref-tag (<reference-surrogate> constructor-fn preview-markup details-markup-fn)]]))
285287

286288
(defn <standalone-type> [constructor-fn & [header-tag]]

0 commit comments

Comments
 (0)