Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
mitchdzugan committed Nov 20, 2020
1 parent 76bcc66 commit 4462343
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion project.clj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
(defproject mayu "0.1.54"
(defproject mayu "0.1.55"
:description "FIXME: write description"
:url "http://example.com/FIXME"
:license {:name "Eclipse Public License"
Expand Down
2 changes: 1 addition & 1 deletion src/cljc/mayu/dom.cljc
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,7 @@

(defnm take-cached-or-do [s k m]
{:keys [store exec get-cached swap-store]} <- (w/gets #(-> % :cache (get s)))
[(swap-store #(merge store %))]
let [data (or (get-cached k) (get store k))]
path <- curr-unique-path
{:keys [res events]} <-
Expand All @@ -265,7 +266,6 @@
(w/modify #(assoc-in % [:cache s :store k :using path] true))
[data])
(mdo
[(swap-store #(-> store))]
(exec s k path m)))
(w/eachm (keys events)
;; TODO These should probably be emit'd from the
Expand Down

0 comments on commit 4462343

Please sign in to comment.