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 1e573f0c0 MXMLRoyalePublisher: ensure that project.needCSS is set
before writeHTML() is called
1e573f0c0 is described below
commit 1e573f0c0c36760c4ffd6da4ab7173b7841cafb8
Author: Josh Tynjala <[email protected]>
AuthorDate: Wed Mar 26 15:49:40 2025 -0700
MXMLRoyalePublisher: ensure that project.needCSS is set before writeHTML()
is called
Followup to commit 88ccbfd6bc819dbc03a6aab7c2d86ad93ab54ffb
---
.../compiler/internal/codegen/mxml/royale/MXMLRoyalePublisher.java | 2 ++
1 file changed, 2 insertions(+)
diff --git
a/compiler-jx/src/main/java/org/apache/royale/compiler/internal/codegen/mxml/royale/MXMLRoyalePublisher.java
b/compiler-jx/src/main/java/org/apache/royale/compiler/internal/codegen/mxml/royale/MXMLRoyalePublisher.java
index ff024e350..3a3e6650d 100644
---
a/compiler-jx/src/main/java/org/apache/royale/compiler/internal/codegen/mxml/royale/MXMLRoyalePublisher.java
+++
b/compiler-jx/src/main/java/org/apache/royale/compiler/internal/codegen/mxml/royale/MXMLRoyalePublisher.java
@@ -558,6 +558,8 @@ public class MXMLRoyalePublisher extends JSPublisher
implements IJSRoyalePublish
}
else
{
+ project.needCSS = gdw.needCSS;
+
File template =
((JSGoogConfiguration)configuration).getHtmlTemplate();
List<String> wrappedScript = new ArrayList<String>();
if (additionalHTML.size() > 0)