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/23 15:38:55 UTC

[royale-asjs] branch develop updated: solves minification issue with JSON in new blog example and in Jewel Example

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 113f6ea  solves minification issue with JSON in new blog example and in Jewel Example
113f6ea is described below

commit 113f6ea0cc3eebad292f7476b7432475022165d9
Author: Carlos Rovira <ca...@apache.org>
AuthorDate: Sun Sep 23 17:38:47 2018 +0200

    solves minification issue with JSON in new blog example and in Jewel Example
---
 .../BE0011_Loading_Github_external_data_through_HTTPService/pom.xml    | 1 +
 .../BE0011_Loading_Github_external_data_through_HTTPService.mxml       | 3 +--
 examples/royale/JewelExample/pom.xml                                   | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/examples/blog/BE0011_Loading_Github_external_data_through_HTTPService/pom.xml b/examples/blog/BE0011_Loading_Github_external_data_through_HTTPService/pom.xml
index d03e1d7..0525366 100644
--- a/examples/blog/BE0011_Loading_Github_external_data_through_HTTPService/pom.xml
+++ b/examples/blog/BE0011_Loading_Github_external_data_through_HTTPService/pom.xml
@@ -44,6 +44,7 @@
           <targets>SWF, JSRoyale</targets>
           <debug>false</debug>
           <htmlTemplate>${basedir}/target/javascript/bin/js-debug/jewel-example-index-template.html</htmlTemplate>
+          <additionalCompilerOptions>-source-map=true;-js-dynamic-access-unknown-members=true</additionalCompilerOptions>
         </configuration>
       </plugin>
     </plugins>
diff --git a/examples/blog/BE0011_Loading_Github_external_data_through_HTTPService/src/main/royale/BE0011_Loading_Github_external_data_through_HTTPService.mxml b/examples/blog/BE0011_Loading_Github_external_data_through_HTTPService/src/main/royale/BE0011_Loading_Github_external_data_through_HTTPService.mxml
index fa06172..2d4642d 100644
--- a/examples/blog/BE0011_Loading_Github_external_data_through_HTTPService/src/main/royale/BE0011_Loading_Github_external_data_through_HTTPService.mxml
+++ b/examples/blog/BE0011_Loading_Github_external_data_through_HTTPService/src/main/royale/BE0011_Loading_Github_external_data_through_HTTPService.mxml
@@ -60,7 +60,7 @@
                 
                 <j:Label text="This example loads its source code in the text code panel:"/>
 
-                <html:Pre height="400" percentWidth="100" style="background-color: white">
+                <html:Pre height="300" percentWidth="100" style="background-color: white">
                     <js:beads>
                         <j:ScrollingViewport/>
                     </js:beads>
@@ -73,5 +73,4 @@
              </j:Card>
         </j:View>
     </j:initialView>
-
 </j:Application>
\ No newline at end of file
diff --git a/examples/royale/JewelExample/pom.xml b/examples/royale/JewelExample/pom.xml
index 512abaf..17e1621 100644
--- a/examples/royale/JewelExample/pom.xml
+++ b/examples/royale/JewelExample/pom.xml
@@ -44,7 +44,7 @@
           <targets>SWF,JSRoyale</targets>
           <debug>false</debug>
           <htmlTemplate>${basedir}/target/javascript/bin/js-debug/jewel-example-index-template.html</htmlTemplate>
-          <additionalCompilerOptions>-source-map=true</additionalCompilerOptions>
+          <additionalCompilerOptions>-source-map=true -js-dynamic-access-unknown-members=true</additionalCompilerOptions>
         </configuration>
       </plugin>
     </plugins>