Permalink
Browse files

Added ability to write normal clojure list expressions inside gui tre…

…e (for creating dynamic templates).
  • Loading branch information...
1 parent 3e67eb9 commit 6f08bb0602cb3f4a691a606ebd376e35d15087fd @brainshave committed Jul 5, 2011
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/guiftw/tree.clj
View
@@ -100,7 +100,8 @@
root {:root obj}
gui-news (merge id groups root)]
(swap! gui merge-guis gui-news)
- (dorun (map #(% gui obj final-style stylesheets) children)))
+ (dorun (map #(% gui obj final-style stylesheets)
+ (flatten children))))
gui)))
(defmacro parse-gui

0 comments on commit 6f08bb0

Please sign in to comment.