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/12/15 17:39:14 UTC

[royale-asjs] branch develop updated: blog-example-BE0011: fix example. GitHubService now needs to be inside fx:Declarations tag and some child tags prefixes was now right due to recent compiler fixes

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 0a91c7e  blog-example-BE0011: fix example. GitHubService now needs to be inside fx:Declarations tag and some child tags prefixes was now right due to recent compiler fixes
0a91c7e is described below

commit 0a91c7ea08f0bab655c999256bc51773f11b3ea3
Author: Carlos Rovira <ca...@apache.org>
AuthorDate: Sun Dec 15 18:39:01 2019 +0100

    blog-example-BE0011: fix example. GitHubService now needs to be inside fx:Declarations tag and some child tags prefixes was now right due to recent compiler fixes
---
 ...0011_Loading_external_data_through_HTTPService.mxml | 18 ++++++++++--------
 1 file changed, 10 insertions(+), 8 deletions(-)

diff --git a/examples/blog/BE0011_Loading_external_data_through_HTTPService/src/main/royale/BE0011_Loading_external_data_through_HTTPService.mxml b/examples/blog/BE0011_Loading_external_data_through_HTTPService/src/main/royale/BE0011_Loading_external_data_through_HTTPService.mxml
index e2eed8c..41e9bc3 100644
--- a/examples/blog/BE0011_Loading_external_data_through_HTTPService/src/main/royale/BE0011_Loading_external_data_through_HTTPService.mxml
+++ b/examples/blog/BE0011_Loading_external_data_through_HTTPService/src/main/royale/BE0011_Loading_external_data_through_HTTPService.mxml
@@ -45,25 +45,27 @@
 		]]>
 	</fx:Script>
     
-    <services:GitHubService id="service" 
-                            sourceCodeUrl="https://api.github.com/repos/apache/royale-asjs/contents/examples/blog/BE0011_Loading_external_data_through_HTTPService/src/main/royale/BE0011_Loading_external_data_through_HTTPService.mxml"
-                            dataReady="dataReadyHandler(event)"/>
+    <fx:Declarations>
+        <services:GitHubService id="service" 
+            sourceCodeUrl="https://api.github.com/repos/apache/royale-asjs/contents/examples/blog/BE0011_Loading_external_data_through_HTTPService/src/main/royale/BE0011_Loading_external_data_through_HTTPService.mxml"
+            dataReady="dataReadyHandler(event)"/> 
+    </fx:Declarations>
 
     <j:initialView>
         <j:View>
-            <js:beads>
+            <j:beads>
                 <j:HorizontalCenteredLayout/>
-            </js:beads>
+            </j:beads>
 
             <j:Card percentWidth="90">
                 <html:H3 text="Loading Github external data through HTTPService"/>
                 
                 <j:Label text="This example loads its source code in the text code panel:"/>
 
-                <html:Pre height="300" percentWidth="100" style="background-color: white">
-                    <js:beads>
+                 <html:Pre height="300" percentWidth="100" style="background-color: white">
+                    <html:beads>
                         <j:ScrollingViewport/>
-                    </js:beads>
+                    </html:beads>
                     <html:Code id="sourceCodeMXMLText"/>
                 </html:Pre>