Add improved form validation in color lightbox.

This commit is contained in:
Andrey Antukh 2015-12-24 20:30:05 +02:00
parent f8b369784f
commit a896bb60d6
8 changed files with 53 additions and 10 deletions

View file

@ -75,13 +75,11 @@
(defn -will-mount
[own]
(println "shortcut-will-mount")
(let [sub (init-handler)]
(assoc own ::subscription sub)))
(defn -will-unmount
[own]
(println "shortcut-will-unmount")
(let [sub (::subscription own)]
(sub)
(dissoc own ::subscription)))