Thanks Michał, is it easy enough to start using later versions of cljs
with lein-cljsbuild?

On 5 March 2013 00:16, Michał Marczyk <michal.marc...@gmail.com> wrote:
> PS. Incidentally, cljs-1450 has a bug which causes it to emit the
> unmunged property name regardless of the filenames used. The relevant
> ticket is CLJS-336, fixed in 9824dbd7c8ac658ebc2d5bc9fa6b5b898f17f659
> (releases >= 1503).
>
>
> On 5 March 2013 01:06, Michał Marczyk <michal.marc...@gmail.com> wrote:
>> This particular problem goes away if you use ClojureScript release
>> 1586 *and* rename the directory
>>
>>   src/cljs/aima-clojure
>>
>> to
>>
>>   src/cljs/aima_clojure
>>
>> and the file
>>
>>   tictactoe-frontend.cljs
>>
>> to
>>
>>   tictactoe_frontend.cljs
>>
>> Maybe we should warn on encountering filenames with dashes, or else
>> treat them as equivalent to underscores?
>>
>> Cheers,
>> Michał
>>
>>
>> On 4 March 2013 21:35, Tom Hall <thattommyh...@gmail.com> wrote:
>>> Hello,
>>>
>>> I have just been stuck for ages trying to figure out what was going on
>>> in my first clojurescript application and think I have found a bug.
>>>
>>> I took some working game playing code for a simple tictactoe example
>>> and found that I got incorrectly names JS outputted
>>>
>>> I have created a project with as little clutter as possible.
>>>
>>> The cljs I am runing is at
>>> https://github.com/thattommyhall/cljs-bug/blob/master/src/cljs/aima-clojure/games/tictactoe-frontend.cljs
>>> and the commit that fixes it is
>>> https://github.com/thattommyhall/cljs-bug/commit/f80cdc4e97f94a6228ecf33d58d489af5de56245
>>>
>>> It seems to generate
>>> game.aima - clojure$game$Game$moves$arity$2
>>> (ie a subtraction operator) as you can see in the diff.
>>>
>>> I worked around it for now by adding an alias (def moves game/moves)
>>> outside and calling that rather than calling game/moves inside the
>>> function.
>>>
>>> Pretty sure this is a cljs bug as the clj tests run ok either way.
>>>
>>>
>>> Cheers,
>>> Tom
>>>
>>> --
>>> --
>>> 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
>>> ---
>>> You received this message because you are subscribed to the Google Groups 
>>> "Clojure" group.
>>> To unsubscribe from this group and stop receiving emails from it, send an 
>>> email to clojure+unsubscr...@googlegroups.com.
>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>
>>>
>
> --
> --
> 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
> ---
> You received this message because you are subscribed to the Google Groups 
> "Clojure" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to clojure+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>

-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to