royale-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [royale-docs] branch develop updated: point to source files for tutorial
Date Wed, 31 Jan 2018 18:52:55 GMT
This is an automated email from the ASF dual-hosted git repository.

aharui pushed a commit to branch develop
in repository

The following commit(s) were added to refs/heads/develop by this push:
     new 6aaa4ad  point to source files for tutorial
6aaa4ad is described below

commit 6aaa4ad0ecee674908c7e4ee23c30fb8998d1848
Author: Alex Harui <>
AuthorDate: Wed Jan 31 10:52:45 2018 -0800

    point to source files for tutorial
 create-an-application/               | 2 ++
 create-an-application/application-tutorial/         | 6 +++---
 create-an-application/application-tutorial/          | 6 ++++--
 create-an-application/application-tutorial/ | 1 +
 4 files changed, 10 insertions(+), 5 deletions(-)

diff --git a/create-an-application/ b/create-an-application/
index bc8a668..690bd43 100644
--- a/create-an-application/
+++ b/create-an-application/
@@ -21,6 +21,8 @@ title: Tutorial - GitHub Commit Log Application
 This tutorial will take you through building an app that displays the commit logs for the
Royale project by connecting to the GitHub servers.
+The steps in this tutorial start with a blank file and walk you through what to add and why.
 Or you can get the complete source [here.]({:target='_blank'}
 Note that Royale examples are setup to build with Maven so the folder structure reflects
 The first six segments will result in a functional application.
 [The Main Application File](create-an-application/application-tutorial/main.html) This segment
starts filling in the main application file.
diff --git a/create-an-application/application-tutorial/ b/create-an-application/application-tutorial/
index 71b1fbd..7e91961 100644
--- a/create-an-application/application-tutorial/
+++ b/create-an-application/application-tutorial/
@@ -108,7 +108,7 @@ Another thing missing is that we haven't specified the size of the controls.
 This simple example will look fine if we just set the width and height of the DataGrid and
the width of the MultilineLabel, so we will add them directly.  You can read the section on
Styles to see other ways of setting styles on the View.
-The final code should look like this:
+The final code should look like this: (you can download it from [here](
 <js:Application xmlns:fx=""
@@ -192,13 +192,13 @@ initialize="addEventListener('dataReady', dataReadyHandler);configurator.send()"
 Since we are intersted in JS output, to compile this code, we run:
-    <path to Royale SDK>/royale-asjs/js/bin/mxmlc -debug=true GitHubCommitsViewer.mxml
+    <path to Royale SDK>/royale-asjs/js/bin/mxmlc -debug=true GitHubCommitLogViewer.mxml
 If you've used NPM to install Royale, you can just run:
-    mxmlc -debug=true GitHubCommitsViewer.mxml
+    mxmlc -debug=true GitHubCommitLogViewer.mxml
 This should compile with one warning.  We will ignore that for now and fix it later.  Next,
let's see the results.
diff --git a/create-an-application/application-tutorial/ b/create-an-application/application-tutorial/
index 939f0db..7b72a0b 100644
--- a/create-an-application/application-tutorial/
+++ b/create-an-application/application-tutorial/
@@ -44,6 +44,8 @@ Next, we need to get the values for these arrays.  Let's use a .json file
to con
   "repos":  [ "apache/royale-asjs", "apache/royale-typedefs", "apache/royale-compiler" ]
+You can download this file from [here.](
 Now we need to add calls that fetch the .json file and then the commits.  We can use HTTPService
to get the JSON file:
@@ -54,8 +56,8 @@ The method setConfig() sets the data model variables:
 private function setConfig():void
-  repos =;
-  projectName =;
+  repos = configurator.json.repos;
+  projectName = configurator.json.projectName;
diff --git a/create-an-application/application-tutorial/ b/create-an-application/application-tutorial/
index 78ef0c9..0b7f123 100644
--- a/create-an-application/application-tutorial/
+++ b/create-an-application/application-tutorial/
@@ -43,6 +43,7 @@ public class LogEntry
+You can download this file from [here.](
 Notice the use of [Bindable] metadata.  This special syntax indicaes to the compiler that
there are no DataBinding notifications for the message field.   Once it is set, it will not
change.  We could also specify "message" as a "const" instead of a "var" and set up a constructor
with parameters, but constructor parameters are not allowed for anything that wants to be
declared in MXML.

To stop receiving notification emails like this one, please contact

View raw message