royale-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From joshtynj...@apache.org
Subject [royale-compiler] branch develop updated: MXMLJSCJSSWCBackend: createConfigurator() should return a RoyaleProjectConfigurator instead of a Configurator, similar to MXMLRoyaleSWCBackend and MXMLJSCJSBackend
Date Mon, 10 Sep 2018 17:19:57 GMT
This is an automated email from the ASF dual-hosted git repository.

joshtynjala 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 02576e0  MXMLJSCJSSWCBackend: createConfigurator() should return a RoyaleProjectConfigurator
instead of a Configurator, similar to MXMLRoyaleSWCBackend and MXMLJSCJSBackend
02576e0 is described below

commit 02576e00c360db1c24aa86ba4ab7ae0c3eb271e0
Author: Josh Tynjala <joshtynjala@apache.org>
AuthorDate: Mon Sep 10 10:19:49 2018 -0700

    MXMLJSCJSSWCBackend: createConfigurator() should return a RoyaleProjectConfigurator instead
of a Configurator, similar to MXMLRoyaleSWCBackend and MXMLJSCJSBackend
---
 .../royale/compiler/internal/driver/mxml/jsc/MXMLJSCJSSWCBackend.java  | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/compiler-jx/src/main/java/org/apache/royale/compiler/internal/driver/mxml/jsc/MXMLJSCJSSWCBackend.java
b/compiler-jx/src/main/java/org/apache/royale/compiler/internal/driver/mxml/jsc/MXMLJSCJSSWCBackend.java
index 1f5effd..2f8a7d0 100644
--- a/compiler-jx/src/main/java/org/apache/royale/compiler/internal/driver/mxml/jsc/MXMLJSCJSSWCBackend.java
+++ b/compiler-jx/src/main/java/org/apache/royale/compiler/internal/driver/mxml/jsc/MXMLJSCJSSWCBackend.java
@@ -38,6 +38,7 @@ import org.apache.royale.compiler.internal.codegen.mxml.jsc.MXMLJSCJSEmitter;
 import org.apache.royale.compiler.internal.driver.js.goog.JSGoogConfiguration;
 import org.apache.royale.compiler.internal.driver.mxml.MXMLBackend;
 import org.apache.royale.compiler.internal.projects.RoyaleJSProject;
+import org.apache.royale.compiler.internal.projects.RoyaleProjectConfigurator;
 import org.apache.royale.compiler.internal.targets.RoyaleSWCTarget;
 import org.apache.royale.compiler.internal.targets.JSTarget;
 import org.apache.royale.compiler.internal.visitor.as.ASNodeSwitch;
@@ -63,7 +64,7 @@ public class MXMLJSCJSSWCBackend extends MXMLBackend
     @Override
     public Configurator createConfigurator()
     {
-        return new Configurator(JSGoogConfiguration.class);
+        return new RoyaleProjectConfigurator(JSGoogConfiguration.class);
     }
 
     @Override


Mime
View raw message