nicer way of handling dom than DOMCategory?
- by IttayD
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.