This is an automated email from the ASF dual-hosted git repository.

gregdove pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-compiler.git


The following commit(s) were added to refs/heads/develop by this push:
     new 6f75df7  Fix for resource keys (need to avoid renaming) in release 
build.
6f75df7 is described below

commit 6f75df78d08d3c4a7f81a8d25d96b978972ee480
Author: greg-dove <[email protected]>
AuthorDate: Mon Oct 12 16:08:36 2020 +1300

    Fix for resource keys (need to avoid renaming) in release build.
---
 .../src/main/java/org/apache/royale/compiler/clients/MXMLJSCRoyale.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/compiler-jx/src/main/java/org/apache/royale/compiler/clients/MXMLJSCRoyale.java
 
b/compiler-jx/src/main/java/org/apache/royale/compiler/clients/MXMLJSCRoyale.java
index 2574c5f..615904c 100644
--- 
a/compiler-jx/src/main/java/org/apache/royale/compiler/clients/MXMLJSCRoyale.java
+++ 
b/compiler-jx/src/main/java/org/apache/royale/compiler/clients/MXMLJSCRoyale.java
@@ -784,7 +784,7 @@ public class MXMLJSCRoyale implements JSCompilerEntryPoint, 
ProblemQueryProvider
                                                value = value.substring(0, 
value.length() - 1);
                                                value += br.readLine();
                                        }
-                                       sb.append(propName + ": \"" + value + 
"\",\n");
+                                       sb.append("'" + propName + "' : \"" + 
value + "\",\n");
                                }
                        }
                        sb.append("__end_of_bundle__: 0\n};};\n");

Reply via email to