Merge of #128. Thanks to @nowprovision

This commit is contained in:
mike-thompson-day8 2015-11-05 11:08:45 +11:00
parent 784018fac3
commit c80549ec95

View File

@ -120,7 +120,7 @@
[handler]
(fn path-handler
[db v]
(assoc-in db path (handler (get-in db path) v)))))))
(update-in db path handler v))))))
(def undoable