Re: Garden defcssfn not rendering

2014-11-04 Thread Rory Douglas
Ugh, just a case of RTFM. (css) needs a vector of CSS rules, so the following won't work (css (scale 2)) > The correct minimal test is: (css [:#testdiv {:transform (scale 2)}]) ;; "#testdiv {\n transform: scale(2, 2);\n}" -- You received this message because you are subscribed to the Goog

Re: Garden defcssfn not rendering

2014-11-04 Thread Rory Douglas
Ugh, just a case of RTFM. (css) needs a vector of CSS rules, so the following won't work (css (scale 2)) > The correct minimal test is: (css [:#testdiv {:transform (scale 2)}]) ;; "#testdiv {\n transform: scale(2, 2);\n}" -- You received this message because you are subscribed to the Goog

Garden defcssfn not rendering

2014-11-03 Thread Rory Douglas
I'm having an issue generating a CSS function (for the scale() transform function) using Garden's *defcssfn *macro. The macro appears to generate the Garden CSSFunction record fine, but the (css) call returns an empty string. (defcssfn scale ([a] [a a]) ([x y] [x y])) (scale 2) ;; #garden