I set :pseudo-names true and it confirms that its the call to the mixin
function that causes this, but I have not yet managed to reproduce it in a
minimal project.


On 30 July 2014 23:53, Daniel Kersten <[email protected]> wrote:

> I'm not sure if its caused by om-tools or if its just chance that it
> happens to be a call to om-tools. I haven't been able to reproduce it in a
> minimal test case yet. I'll try again tomorrow. If it turns out to be
> om-tools, I'll open an issue, but its also likely that its a problem in my
> own code.
>
>
> On 30 July 2014 22:32, Logan Linn <[email protected]> wrote:
>
>> On Wednesday, July 30, 2014 1:45:43 AM UTC-7, Daniel Kersten wrote:
>> > Thanks David, that's what I thought might be the case.
>> >
>> > Oddly enough as far as I can tell, RN is a function from an om-tools
>> mixin (and therefore cljs code). I'll see if I can replicate in a test
>> project.
>> >
>> > On 30 Jul 2014 00:53, "David Nolen" <[email protected]> wrote:
>> >
>> > 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 <[email protected]>
>> 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 <[email protected]> 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 [email protected].
>> >
>> > > To post to this group, send email to [email protected].
>> >
>> > > 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 [email protected].
>> >
>> > To post to this group, send email to [email protected].
>> >
>> > Visit this group at http://groups.google.com/group/clojurescript.
>>
>> If you are able to isolate to om-tools, please open an issue on the repo.
>>
>> --
>> 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.
>>
>
>

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