Ah, ok. So the problem here is that the qooxdoo generate.py utility does
not recognize ES6, and thus the error.

Someone is working on a pure-JavaScript replacement to the generator
(@johnspackman maybe?) which might support ES6. Hopefully whoever that is
can comment. Otherwise, you may need to replace your ES6 statements with
more traditional JavaScript so that generate.py groks it.

Cheers,

Derrell


On Thu, May 5, 2016 at 10:19 AM Reed <reedma...@gmail.com> wrote:

> That's the "Spread operator" in ES6.
> https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Spread_operator
>
> Without context, I'd guess this line is attempting to convert a generic
> Iterableobject (maybe arguments) into an Array. If arr is already type
> Array then this statement should be idempotent.
>
> This helps identify Denis's issue but does not help solve it.
>
> On Thu, May 5, 2016 at 10:03 AM, Derrell Lipman <
> derrell.lip...@unwireduniverse.com> wrote:
>
>> What is the ellipsis? Is that something in ES6? What does that statement
>> mean?
>>
>> Derrell
>>
>>
>> On Thu, May 5, 2016 at 9:58 AM deniska <den...@gmail.com> wrote:
>>
>>> Hi, all.
>>>
>>> I'm trying to generate my app and I'm getting this error message:
>>>
>>> Unknown operator u'..' (pos (10, 12))
>>>
>>> On the following line:
>>>
>>> arr = [...arr];
>>>
>>> Now I can get around this by wrapping this line with eval(), which gives
>>> me
>>> just a warning, but I would definitely love a more permanent solution for
>>> this.
>>>
>>> Thanks,
>>> Denis.
>>>
>>>
>>>
>>> --
>>> View this message in context:
>>> http://qooxdoo.678.n2.nabble.com/Qooxdoo-generate-doesn-t-support-operator-tp7588326.html
>>> Sent from the qooxdoo mailing list archive at Nabble.com.
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Find and fix application performance issues faster with Applications
>>> Manager
>>> Applications Manager provides deep performance insights into multiple
>>> tiers of
>>> your business applications. It resolves application problems quickly and
>>> reduces your MTTR. Get your free trial!
>>> https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
>>> _______________________________________________
>>> qooxdoo-devel mailing list
>>> qooxdoo-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>>>
>>
>>
>> ------------------------------------------------------------------------------
>> Find and fix application performance issues faster with Applications
>> Manager
>> Applications Manager provides deep performance insights into multiple
>> tiers of
>> your business applications. It resolves application problems quickly and
>> reduces your MTTR. Get your free trial!
>> https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
>> _______________________________________________
>> qooxdoo-devel mailing list
>> qooxdoo-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>>
>>
>
> ------------------------------------------------------------------------------
> Find and fix application performance issues faster with Applications
> Manager
> Applications Manager provides deep performance insights into multiple
> tiers of
> your business applications. It resolves application problems quickly and
> reduces your MTTR. Get your free trial!
> https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
> _______________________________________________
> qooxdoo-devel mailing list
> qooxdoo-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to