You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by ca...@apache.org on 2019/06/16 20:20:21 UTC

[royale-asjs] branch develop updated: BE0013: inject_html does not work in modules

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

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


The following commit(s) were added to refs/heads/develop by this push:
     new ade3dfb  BE0013: inject_html does not work in modules
ade3dfb is described below

commit ade3dfb98c1bef54456234f68ddbef40464428eb
Author: Carlos Rovira <ca...@apache.org>
AuthorDate: Sun Jun 16 22:20:15 2019 +0200

    BE0013: inject_html does not work in modules
---
 .../JewelModule/pom.xml                                | 18 ------------------
 .../MainJewelApp/src/main/royale/MainJewelApp.mxml     |  3 +++
 .../pom.xml                                            | 14 ++++++++++++++
 3 files changed, 17 insertions(+), 18 deletions(-)

diff --git a/examples/blog/BE0013_Dividing_an_Apache_Royale_application_with_modules/JewelModule/pom.xml b/examples/blog/BE0013_Dividing_an_Apache_Royale_application_with_modules/JewelModule/pom.xml
index 178109a..c121fc5 100644
--- a/examples/blog/BE0013_Dividing_an_Apache_Royale_application_with_modules/JewelModule/pom.xml
+++ b/examples/blog/BE0013_Dividing_an_Apache_Royale_application_with_modules/JewelModule/pom.xml
@@ -74,23 +74,5 @@
 
     </plugins>
   </build>
-
-  <dependencies>
-    <dependency>
-      <groupId>org.apache.royale.framework</groupId>
-      <artifactId>Icons</artifactId>
-      <version>0.9.6-SNAPSHOT</version>
-      <type>swc</type>
-      <classifier>swf</classifier>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.royale.framework</groupId>
-      <artifactId>Icons</artifactId>
-      <version>0.9.6-SNAPSHOT</version>
-      <type>swc</type>
-      <classifier>js</classifier>
-    </dependency>
-  </dependencies>
-
   
 </project>
diff --git a/examples/blog/BE0013_Dividing_an_Apache_Royale_application_with_modules/MainJewelApp/src/main/royale/MainJewelApp.mxml b/examples/blog/BE0013_Dividing_an_Apache_Royale_application_with_modules/MainJewelApp/src/main/royale/MainJewelApp.mxml
index d55fcf1..6532021 100644
--- a/examples/blog/BE0013_Dividing_an_Apache_Royale_application_with_modules/MainJewelApp/src/main/royale/MainJewelApp.mxml
+++ b/examples/blog/BE0013_Dividing_an_Apache_Royale_application_with_modules/MainJewelApp/src/main/royale/MainJewelApp.mxml
@@ -24,6 +24,9 @@
 
     <fx:Script>
 		<![CDATA[
+            // inject_html does not wotk in modules
+            import MaterialIconType;MaterialIconType;
+
             [Bindable]
             public var code_txt:String;
 
diff --git a/examples/blog/BE0013_Dividing_an_Apache_Royale_application_with_modules/pom.xml b/examples/blog/BE0013_Dividing_an_Apache_Royale_application_with_modules/pom.xml
index 28e691b..d88216a 100644
--- a/examples/blog/BE0013_Dividing_an_Apache_Royale_application_with_modules/pom.xml
+++ b/examples/blog/BE0013_Dividing_an_Apache_Royale_application_with_modules/pom.xml
@@ -54,6 +54,20 @@
     </dependency>
     <dependency>
       <groupId>org.apache.royale.framework</groupId>
+      <artifactId>Icons</artifactId>
+      <version>0.9.6-SNAPSHOT</version>
+      <type>swc</type>
+      <classifier>swf</classifier>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.royale.framework</groupId>
+      <artifactId>Icons</artifactId>
+      <version>0.9.6-SNAPSHOT</version>
+      <type>swc</type>
+      <classifier>js</classifier>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.royale.framework</groupId>
       <artifactId>Jewel-Light-NoFlat-Primary-Red-Theme</artifactId>
       <version>0.9.6-SNAPSHOT</version>
       <type>swc</type>