From 465ef8c3d3d3d9230eb32b42818a1c1c1f3ef74a Mon Sep 17 00:00:00 2001 From: zilti Date: Fri, 26 Oct 2018 15:21:26 +0000 Subject: [PATCH] Almost-working find-by-class --- src/clojurefx/clojurefx.clj | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/clojurefx/clojurefx.clj b/src/clojurefx/clojurefx.clj index a6a2ea7..94aa801 100644 --- a/src/clojurefx/clojurefx.clj +++ b/src/clojurefx/clojurefx.clj @@ -147,8 +147,8 @@ (not (empty? (clojure.lang.Reflector/getMethods (class node) 0 method false)))) (defn- graph-node-has-children? [node] - {:pre [(s/valid? ::node node)] - :post [boolean?]} + ;{:pre [(s/valid? ::node node)] + ; :post [boolean?]} (or (has-method? node "getChildren") (has-method? node "getGraphic") (has-method? node "getMenus")