Skip to content

Commit

Permalink
change two more mranderson048 v2 to v6
Browse files Browse the repository at this point in the history
  • Loading branch information
jacekschae authored and danielcompton committed Dec 11, 2018
1 parent af3a10c commit 3b43867
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/day8/re_frame_10x.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@

(defn traced-result [trace-id fragment-id]
;; TODO: this is not terribly efficient, figure out how to get the index of the trace directly.
(let [trace (first (filter #(= trace-id (:id %)) (get-in @mranderson048.re-frame.v0v10v2.re-frame.db/app-db [:traces :all-traces])))]
(let [trace (first (filter #(= trace-id (:id %)) (get-in @mranderson048.re-frame.v0v10v6.re-frame.db/app-db [:traces :all-traces])))]
(get-in trace [:tags :code fragment-id :result])))

(defn init-db! []
Expand Down
4 changes: 2 additions & 2 deletions src/day8/re_frame_10x/utils/pretty_print_condensed.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -274,5 +274,5 @@ day8.re-frame-10x.utils.pretty-print-condensed
(comment (defn testit []
(dotimes [i 5]
(time
(pr-str-truncated 200 @mranderson048.re-frame.v0v10v2.re-frame.db/app-db)))
(pr-str-truncated 200 "=>" @mranderson048.re-frame.v0v10v2.re-frame.db/app-db)))
(pr-str-truncated 200 @mranderson048.re-frame.v0v10v6.re-frame.db/app-db)))
(pr-str-truncated 200 "=>" @mranderson048.re-frame.v0v10v6.re-frame.db/app-db)))

0 comments on commit 3b43867

Please sign in to comment.