Using JS libs as their own externs is not guaranteed to work. You just
need to supply extern files for all calls that involve JS code that
Closure will not see.

David

On Tue, Jul 29, 2014 at 7:20 PM, Daniel Kersten <dkers...@gmail.com> wrote:
> I'm assuming that I need to determine what the RN refers to when not
> minified and then write a proper extern file for it..
>
>
> On 30 July 2014 00:15, Daniel Kersten <dkers...@gmail.com> wrote:
>>
>> Hi,
>>
>> I have a large-ish ClojureScript/Om application and I'm unable to run it
>> when compiled with :optimization :advanced.
>> :none, :whitespace and :simple all work perfectly, but :advanced gives me
>> an "undefined is not a fucntion" on the RN from the following snippet of
>> code:
>>
>> return u.owner.RN( ... )
>>
>> I tried adding every other js file that I use as an extern, just in case,
>> but this did not make a difference.
>>
>> Has anybody else encountered something like this before? How did you
>> approach debugging it?
>>
>> Any tips or ideas would be greatly appreciated!
>
>
> --
> 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 clojurescript+unsubscr...@googlegroups.com.
> To post to this group, send email to clojurescript@googlegroups.com.
> Visit this group at http://groups.google.com/group/clojurescript.

-- 
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 clojurescript+unsubscr...@googlegroups.com.
To post to this group, send email to clojurescript@googlegroups.com.
Visit this group at http://groups.google.com/group/clojurescript.

Reply via email to