Try (cljs.nodejs/require "path/to/file") On Thursday, February 5, 2015, Nelson Morris <[email protected]> wrote:
> After looking at react-art and react-pixi for awhile, I've got to the > point where I want to build my own wrapper elements for a different scene > graph. Both of these projects use 'require' to access React modules ( > https://github.com/Izzimach/react-pixi/blob/master/src/ReactPIXI.js#L31). > This allows them to use some base React pieces as mixins, such as for > elemnts with children. > > Is there a clojurescript equivalent for accessing these modules? > > -- > 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] > <javascript:_e(%7B%7D,'cvml','clojurescript%[email protected]');> > . > To post to this group, send email to [email protected] > <javascript:_e(%7B%7D,'cvml','[email protected]');>. > Visit this group at http://groups.google.com/group/clojurescript. > -- Dom Kiva-Meyer Founder, Paren Corporation -- 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.
