flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Harbs (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FLEX-35071) Extra "this" causing error
Date Mon, 11 Apr 2016 12:04:25 GMT
Harbs created FLEX-35071:

             Summary: 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

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

View raw message