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 2018/09/15 17:05:54 UTC

[royale-asjs] branch develop updated: update config of blog example BE0008

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 b198dfe  update config of blog example BE0008
b198dfe is described below

commit b198dfecf98aa0b8cbae5d9b201be3458ce9d898
Author: Carlos Rovira <ca...@apache.org>
AuthorDate: Sat Sep 15 19:05:47 2018 +0200

    update config of blog example BE0008
---
 .../asconfig.json                                                | 9 ++++++---
 .../BE0008_Using_View_States_to_show_or_hide_content/pom.xml     | 2 +-
 2 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/examples/blog/BE0008_Using_View_States_to_show_or_hide_content/asconfig.json b/examples/blog/BE0008_Using_View_States_to_show_or_hide_content/asconfig.json
index 4b6259e..9604f47 100644
--- a/examples/blog/BE0008_Using_View_States_to_show_or_hide_content/asconfig.json
+++ b/examples/blog/BE0008_Using_View_States_to_show_or_hide_content/asconfig.json
@@ -20,12 +20,15 @@
     "config": "royale",
     "compilerOptions": {
         "debug": false,
-        "targets": ["JSRoyale","SWF"],
-        "source-map": true
+        "targets": ["SWF", "JSRoyale"],
+        "source-map": true,
+        "html-template": "src/main/resources/jewel-example-index-template.html",
+        "theme": "${royalelib}/themes/JewelTheme/src/main/resources/defaults.css"
     },
+    "copySourcePathAssets": true,
     "additionalOptions": "-remove-circulars -js-output-optimization=skipAsCoercions",
     "files":
     [
-        "src/main/royale/App.mxml"
+        "src/main/royale/BE0008_Using_View_States_to_show_or_hide_content.mxml"
     ]
 }
diff --git a/examples/blog/BE0008_Using_View_States_to_show_or_hide_content/pom.xml b/examples/blog/BE0008_Using_View_States_to_show_or_hide_content/pom.xml
index 52428ca..2a5e942 100644
--- a/examples/blog/BE0008_Using_View_States_to_show_or_hide_content/pom.xml
+++ b/examples/blog/BE0008_Using_View_States_to_show_or_hide_content/pom.xml
@@ -41,7 +41,7 @@
         <extensions>true</extensions>
         <configuration>
           <mainClass>BE0008_Using_View_States_to_show_or_hide_content.mxml</mainClass>
-          <targets>JSRoyale,SWF</targets>
+          <targets>SWF, JSRoyale</targets>
           <debug>false</debug>
           <htmlTemplate>${basedir}/target/javascript/bin/js-debug/jewel-example-index-template.html</htmlTemplate>
         </configuration>