0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-09 08:20:45 -05:00

Remove useless print impl for rstore basic events.

This commit is contained in:
Andrey Antukh 2016-02-24 17:20:17 +02:00
parent e59605ec11
commit cf905d77b1

View file

@ -66,23 +66,13 @@
(reify
UpdateEvent
(-apply-update [_ state]
(f state))
IPrintWithWriter
(-pr-writer [mv writer _]
(-write writer "#<event:rstore/swap-state>"))))
(f state))))
(defn reset-state
"A event that resets the internal state with
the provided value."
[state]
(reify
IPrintWithWriter
(-pr-writer [_ writer x]
(-write writer "#<event:rstore/reset-state ")
(-pr-writer state writer x)
(-write writer ">"))
UpdateEvent
(-apply-update [_ _]
state)))