On Wed, Apr 16, 2014 at 7:32 AM, Michael Sperber
<[email protected]> wrote:
> Thanks for the quick response!
>
> On Wednesday, April 16, 2014 1:17:54 PM UTC+2, David Nolen wrote:
>> :preamble is really only intended to be paired with :whitespace, :simple, or 
>> :advanced optimizations. When using :none just link to a local copy of the 
>> React source or one from the Facebook CDN.
>
> So I changed to:
>
>               {:id "products"
>                :source-paths ["src" "examples/products"]
>                :compiler {:preamble ["react/react.min.js"]
>                           :output-to "examples/products/main.js"
>                           :output-dir "examples/products/out"
>                           :source-map "examples/products/main.map"
>                           :optimizations :whitespace}}
>
> ... still no React in the preamble.
>
> Any ideas?

I checked your project out and ran `lein cljsbuild once test` and
`target/tests.js` is preambled with react.

--

In Christ,

Timmy V.

http://blog.twonegatives.com/
http://five.sentenc.es/ -- Spend less time on mail

-- 
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