add put-hints!
mainly just a convenience function intended for iview implementation libraries to make use of
This commit is contained in:
parent
2faf596777
commit
874cabdb2d
|
@ -350,6 +350,12 @@
|
||||||
[hint]
|
[hint]
|
||||||
(swap! view-system update-in [:hints] (fnil conj #{}) 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!
|
(defn add-views!
|
||||||
"Add a collection of views to the system."
|
"Add a collection of views to the system."
|
||||||
[views]
|
[views]
|
||||||
|
|
Loading…
Reference in a new issue