I pushed changes that should fix this.

On 3/7/17, 2:08 PM, "Harbs" <harbs.li...@gmail.com> wrote:

>The other one is the problem:
>
>super.replaceChildren.apply(this, applyParams);
>
>Becomes:
>.replaceChildren.apply(this, applyParams);
>
>The “super” just drops out…
>
>My workaround attempts were in the AS3, nit the JS output.
>
>> On Mar 7, 2017, at 11:37 PM, Alex Harui <aha...@adobe.com> wrote:
>> 
>> The output JS looks ok to me.
>> 
>> AS:
>> super.replaceChildren(termIdx, termIdx+1);
>> 
>> 
>> JS:
>> 
>>org.apache.flex.textLayout.elements.ParagraphElement.superClass_.replaceC
>>hi
>> ldren.apply(this, [ termIdx, termIdx + 1] );
>> 
>> 
>> I could be wrong, but I thought there is no "super" in ES5.
>> 
>> Does it not work correctly?  Are you getting Closure Compiler issues or
>> runtime issues?
>> 
>> -Alex
>> 
>> On 3/7/17, 1:21 PM, "Harbs" <harbs.li...@gmail.com
>><mailto:harbs.li...@gmail.com>> wrote:
>> 
>>> I tried the following two workarounds and neither one worked:
>>> 
>>> super["replaceChildren"].apply(this, applyParams);
>>> 
>>> var func:Function = super.replaceChildren;
>>> func.apply(this, applyParams);
>>> 
>>>> On Mar 7, 2017, at 11:13 PM, Harbs <harbs.li...@gmail.com> wrote:
>>>> 
>>>> Most of the other ones are “nice to fix”, but have been not too bad to
>>>> work around.
>>>> 
>>>> This one seems more serious to me. (i.e. I’m not sure how to work
>>>> around it.)
>>>> 
>>>> The “super” dropped off in the Javascript, and I don’t know why.
>>>> 
>>>> https://paste.apache.org/FpNl <https://paste.apache.org/FpNl>
>>>><https://paste.apache.org/FpNl <https://paste.apache.org/FpNl>>
>>>> 
>>>> Harbs
>

Reply via email to