How complete is Kioo's coverage of Enlive's selectors? I've the following utility function that works fine with enlive:
(defn text= [s] (pred #(= s (text %))))
When I use it with Kioo (via reagent) it complains of undeclared vars (pred and text) whether or not I use them as naked vars or prefaced with the kioo.reagent namespace. Any attempt to use it in selectors won't compile, e.g.
[(text= "Text to match")] identity
results in a null-pointer exception.
I'm trying to match an <option> tag based on its text content. The HTML is available at compile time. If I'm going about it the wrong way any pointers would be great.
Thanks,
Oliver.