Re: problem with extern file using cljsbuild

2012-10-14 Thread Wei Hsu
Thanks Pierre, your comment helped me track down and remove the line 
(:require [google.maps :as maps]) which compiled to 
goog.require('google.maps'). I forgot that you couldn't "require" externs.

So do I always have to reference external symbols by their fully qualified 
names? e.g. google.maps.LatLng rather than maps/LatLng

On Sunday, October 14, 2012 4:36:14 AM UTC-7, Pierre Henry wrote:
>
> Following the link  to the extern file 
> it seems the *google.map *lib is not found when the VM loader try to load 
> your code...
>
> Le dimanche 14 octobre 2012 13:14:33 UTC+2, Wei Hsu a écrit :
>>
>> I'm using the Google Maps API in my Clojurescript project, which worked 
>> fine until I compiled in advanced mode. The compiler doesn't seem to pick 
>> up the extern 
>> filethat
>>  I specified. Could someone point out what I'm doing wrong?
>>
>> Compile output and project.clj snippet here
>> .
>>
>> Thanks!
>>
>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Re: problem with extern file using cljsbuild

2012-10-14 Thread Pierre Henry
Following the link  to the extern file 
it seems the *google.map *lib is not found when the VM loader try to load 
your code...

Le dimanche 14 octobre 2012 13:14:33 UTC+2, Wei Hsu a écrit :
>
> I'm using the Google Maps API in my Clojurescript project, which worked 
> fine until I compiled in advanced mode. The compiler doesn't seem to pick 
> up the extern 
> filethat
>  I specified. Could someone point out what I'm doing wrong?
>
> Compile output and project.clj snippet here
> .
>
> Thanks!
>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

problem with extern file using cljsbuild

2012-10-14 Thread Wei Hsu
I'm using the Google Maps API in my Clojurescript project, which worked 
fine until I compiled in advanced mode. The compiler doesn't seem to pick 
up the extern 
filethat
 I specified. Could someone point out what I'm doing wrong?

Compile output and project.clj snippet here
.

Thanks!

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en