On 10/13/16, 9:39 PM, "Pan Li" wrote:
>
>
>Hi Alex
>there is no reason to use "new". I am asking this because we have old Flex
>code to migrate to FlexJS, and I noticed a difference
OK, well I made a change to the compiler to generate a call to
org.apache.flex.utils.Language._int(). Should be
Hi Alex
there is no reason to use "new". I am asking this because we have old Flex
code to migrate to FlexJS, and I noticed a difference
My Apache Flex community contribution is working on the open source
Moonshine-IDE.com for FlexJS.
On 10/13/16, 3:32 AM, "Pan Li" wrote:
>
>
>this line works in Flex application as expected
>test = new int("123")
>
>but it doesn't work in FlexJS 0.7, it does build but the created
>javascript
>fails with javascript error:
>Can't find variable: int
I'll look into it, but is there any reason t
this line works in Flex application as expected
test = new int("123")
but it doesn't work in FlexJS 0.7, it does build but the created javascript
fails with javascript error:
Can't find variable: int
on the other hand, this does work:
test = new Number("123")
Thank you
Pan Li
http://Prominic