flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Harbs (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (FLEX-35071) Extra "this" causing error
Date Thu, 14 Apr 2016 10:18:25 GMT

     [ https://issues.apache.org/jira/browse/FLEX-35071?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Harbs resolved FLEX-35071.
--------------------------
    Resolution: Fixed

Looks good now.

> Extra "this" causing error
> --------------------------
>
>                 Key: FLEX-35071
>                 URL: https://issues.apache.org/jira/browse/FLEX-35071
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: FalconJX
>            Reporter: Harbs
>            Assignee: Alex Harui
>             Fix For: Apache FalconJX 0.7.0
>
>
> The following E4X expression:
> list3  = list3.(attribute("name").length());
> compiles to the following (which results in an "undefined" error)
> list3 = list3.filter(function(node){return (node.this.attribute("name").length())});
> It should compile to the following (which works as expected)
> list3 = list3.filter(function(node){return (node.attribute("name").length())});



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message