How do I code an array literal in clojurescript that translates to an
array literal in javascript? What's the syntax?
If I code in clojurescript:
... [22 33] ...
it translates to a javascript vector:
cljs.core.Vector.fromArray([22,33])
Javascript (fx/Animation) needs an array defining an X Y point and
complains that this parameter is not an array.
Thanks.
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en