add put-hints!

mainly just a convenience function intended for iview implementation
libraries to make use of
This commit is contained in:
Gered 2016-05-21 16:29:00 -04:00
parent 2faf596777
commit 874cabdb2d

View file

@ -350,6 +350,12 @@
[hint]
(swap! view-system update-in [:hints] (fnil conj #{}) hint))
(defn put-hints!
"Adds a collection of hints to the view system by using the view system
configuration's :put-hints-fn."
[hints]
((:put-hints-fn @view-system) hints))
(defn add-views!
"Add a collection of views to the system."
[views]