2013/2/12 ckirkendall <ckirkend...@gmail.com>

> I would be very interested in your code.  Awhile back I did add support
> for most enlive selectors to enfocus.  So you can use something like [:td
> :#id1] in your enfocus templates.


Have a look at https://gist.github.com/bendlas/4942735
Feel free to use what you like, or to coerce me into making it a proper
library ;-)


> This does have limitations though.  I also have been working on adding
> string css3 selector support to enlive through a simple compiler that would
> take a valid css3 selector and produce an enlive selector.   I haven't
> gotten a lot of time to work on it, but the parser phase is pretty
> complete.   It would also make a good basis for pure clojurescript selector
> engine like Sizzle instead of using goog.dom.query.


As part of my ongoing work to factorize enlive, i have already lifted all
of the enlive selector predicates to a zipper level, which should make them
pretty easily reusable for the dom: https://gist.github.com/bendlas/4942791

cheers

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to