Okay, thanks for answering that.

There are few use cases for :simple ever

You’re probably already aware of this use case for :whitespace, but I’ll
mention it anyway: we’re using ClojureScript in a Google Chrome Extension.
Because Chrome Extensions require every asset to be individually enumerated
in a manifest file (and it’s my understanding that this is also true of
Atom Editor plugins), we develop with :whitespace so that we only have to
list a single JavaScript file. Developing with an optimization of :none
would be great, especially for shaving some extra seconds off our compile
times, but we’d have to maintain separate dev/prod versions of the manifest
file, and constantly update it with new .js files as they are added to the
project.

Maybe there’s some way around this that I’m unaware of?

e
​

On Fri, Mar 27, 2015 at 1:41 PM, David Nolen <[email protected]> wrote:

> Nope. We've reached peak option combination support long ago.
>
> Sorry drawing the line at :none. There are few use cases for :simple ever
> and none of this stuff makes sense under :advanced.
>
> David
>
> On Fri, Mar 27, 2015 at 1:38 PM, Erik Price <[email protected]> wrote:
>
>> This isn’t supported, the browser REPL relies fundamentally on loading
>> code dynamically which is not supported in any way whatsoever under any
>> optimization setting other than :none.
>>
>> Even an optimization of :whitespace is unsupported?
>>
>> e
>> ​
>>
>> On Fri, Mar 27, 2015 at 12:23 PM, David Nolen <[email protected]>
>> wrote:
>>
>>> First off thank you for putting examples like this together which don't
>>> involve any tooling other than ClojureScript itself. This saves me a
>>> countless amount of time by eliminating other variables.
>>>
>>> Both cases exhibit a subtle kind of user error - you are trying to load
>>> the browser REPL in a mode other than :none. This isn't supported, the
>>> browser REPL relies fundamentally on loading code dynamically which is not
>>> supported in any way whatsoever under any optimization setting other than
>>> :none.
>>>
>>> The way to avoid this in the future will be :main support under higher
>>> :optimizations settings than :none. Won't make it into the next release but
>>> no later than the one after that. Until then use the classpath (via
>>> :source-paths when using cljsbuild) to configure your dev builds to include
>>> code (REPL stuff) you don't want under :simple or :advanced.
>>>
>>> David
>>>
>>> On Fri, Mar 27, 2015 at 11:44 AM, Jonathon McKitrick <
>>> [email protected]> wrote:
>>>
>>>> I've run across two optimization related issues I cannot get past.  I
>>>> followed the advice in 'reporting issues' on the ClojureScript wiki, and
>>>> I've created 2 simple repos demonstrating the issues.  These could be user
>>>> error, but I've tried to remove anything clouding the issue.
>>>>
>>>> I thought it was a simple externs issue, but I removed jQuery
>>>> references from this demo, and the error remains.
>>>>
>>>> https://github.com/j-mckitrick/cljs-error-demo-1
>>>> https://github.com/j-mckitrick/cljs-error-demo-2
>>>>
>>>> Each repo has a README with steps to reproduce.  Any help 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.
>>>
>>
>>  --
>> 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.
>

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