Skip to content

Commit 0bc4412

Browse files
author
dnolen
committed
fix bad example
1 parent 1c62c10 commit 0bc4412

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/cljs/cljs/js.cljs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -790,9 +790,9 @@
790790
(println res)))
791791

792792
(cljs/compile st "(defprotocol IFoo (foo [this]))"
793-
(fn [js-source]
793+
(fn [{:keys [value]}]
794794
(println "Source:")
795-
(println js-source)))
795+
(println value)))
796796

797797
(cljs/eval-str st
798798
"(defn foo [a b] (+ a b))

0 commit comments

Comments
 (0)