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] [Assigned] (FLEX-35065) Object literals don't always work
Date Mon, 11 Apr 2016 04:49:25 GMT

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

Alex Harui reassigned FLEX-35065:
---------------------------------

    Assignee: Alex Harui

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