I'm using deftype and the Object protocol to create objects with properties and 
methods that are natural to use from JS client code.  But I can't get this to 
work with advanced optimizations enabled, it seems that only functions can be 
exported with the ^:export tag.  Is this true?  It seems like it would be 
possible to export the methods and properties using the closure exportProperty 
and exportSymbol functions and I could write a macro to do this automatically, 
but I just want to make sure that an existing solution does not already exist.

Thanks for any help,
Brent Shields

-- 
Note that posts from new members are moderated - please be patient with your 
first post.
--- 
You received this message because you are subscribed to the Google Groups 
"ClojureScript" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/clojurescript.

Reply via email to