Yea, flex-falcon is up2date. My ‘fix’ was to change TabStopsProperty.as:191 to
private static const _escapeBackslashRegex:RegExp = new
RegExp("\\" + "\\", "g");
I’m not pushing this yet so Alex or others can debug the RTE.
From: Harbs<mailto:[email protected]>
Sent: Sunday, July 16, 2017 3:17 PM
To: [email protected]<mailto:[email protected]>
Subject: Re: [FlexJS] Falcon AsJS Mismatch?
Is this with Alex’s latest changes?
These backslash escapes seem really difficult to get right… :-(
> On Jul 16, 2017, at 2:41 PM, yishayw <[email protected]> wrote:
>
> Looks like falcon is incompatible with TabStopsPropety.as in TLF. When
> initializing that file I'm getting the following RTE:
>
> Uncaught syntax error: Invalid regular expression: missing /
>
> which originates in TabStopsProperty.as:191
>
> private static const _escapeBackslashRegex:RegExp = /\\\\/g;
>
>
> which transpiles to TabStopsProperty.js:143
>
>
> org.apache.flex.textLayout.property.TabStopsProperty._escapeBackslashRegex =
> /\\\\\/g;
>
>
>
>
>
> --
> View this message in context:
> http://apache-flex-development.2333347.n4.nabble.com/FlexJS-Falcon-AsJS-Mismatch-tp63296.html
> Sent from the Apache Flex Development mailing list archive at Nabble.com.