flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yishay Weiss <yishayj...@hotmail.com>
Subject RE: [FlexJS] Falcon AsJS Mismatch?
Date Sun, 16 Jul 2017 12:24:04 GMT
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:harbs.lists@gmail.com>
Sent: Sunday, July 16, 2017 3:17 PM
To: dev@flex.apache.org<mailto:dev@flex.apache.org>
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 <yishayjobs@hotmail.com> 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.


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message