flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Harui (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (FLEX-35065) Object literals don't always work
Date Mon, 11 Apr 2016 04:53:25 GMT

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

Alex Harui resolved FLEX-35065.
-------------------------------
       Resolution: Fixed
    Fix Version/s: Apache FalconJX 0.7.0

7a0a4c839f2232d7e295dbce3ecbd0a5fdb1e7f7

> Object literals don't always work
> ---------------------------------
>
>                 Key: FLEX-35065
>                 URL: https://issues.apache.org/jira/browse/FLEX-35065
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: FalconJX
>    Affects Versions: Apache FalconJX 0.6.0
>            Reporter: Harbs
>            Assignee: Alex Harui
>             Fix For: Apache FalconJX 0.7.0
>
>
> The following code:
> 	public class XML
> 	{
> 		static public var ignoreComments:Boolean = true;
> 		static public var ignoreProcessingInstructions:Boolean = true;
> 		static public var ignoreWhitespace:Boolean = true;
> 		static public var prettyIndent:int = 2;
> 		static public var prettyPrinting:Boolean = true;
> 		static public function settings():Object
> 		{
> 			return {
> 			    ignoreComments : ignoreComments,
> 			    ignoreProcessingInstructions : ignoreProcessingInstructions,
> 			    ignoreWhitespace : ignoreWhitespace,
> 			    prettyIndent : prettyIndent,
> 			    prettyPrinting : prettyPrinting
> 			}
> 		}
> 	}
> compiles into:
> XML.settings = function() {
>   return {XML.ignoreComments:XML.ignoreComments, XML.ignoreProcessingInstructions:XML.ignoreProcessingInstructions,
XML.ignoreWhitespace:XML.ignoreWhitespace, XML.prettyIndent:XML.prettyIndent, XML.prettyPrinting:XML.prettyPrinting};
> };



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

Mime
View raw message