nicer way of handling dom than DOMCategory?

Posted by IttayD on Stack Overflow See other posts from Stack Overflow or by IttayD
Published on 2010-05-30T04:59:23Z Indexed on 2010/05/30 5:02 UTC
Read the original article Hit count: 221

Filed under:
|
|

I'm trying to create a DSL that can easily use a dom node. Using DOMCategory is nice, but adds the noise of 'use(DOMCategory)'. Is there a way to avoid that?

I tried wrapping the script call inside a call to 'use', but this doesn't seem to work in closures.

© Stack Overflow or respective owner

Related posts about dom

Related posts about groovy