You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by an...@apache.org on 2020/04/10 12:21:29 UTC

[royale-docs] branch master updated: Update compiler-options.md

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

andreww pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/royale-docs.git


The following commit(s) were added to refs/heads/master by this push:
     new 15e122a  Update compiler-options.md
15e122a is described below

commit 15e122adf5d705cb477303e887759afe87c9c2b7
Author: Andrew Wetmore <an...@cottage14.com>
AuthorDate: Fri Apr 10 09:21:23 2020 -0300

    Update compiler-options.md
    
    Updated some of the text.
---
 compiler/compiler-options.md | 24 ++++++++++++------------
 1 file changed, 12 insertions(+), 12 deletions(-)

diff --git a/compiler/compiler-options.md b/compiler/compiler-options.md
index b3edc4c..7b20487 100644
--- a/compiler/compiler-options.md
+++ b/compiler/compiler-options.md
@@ -16,7 +16,7 @@
 
 layout: docpage
 title: Compiler Options
-description: List of Available Compiler Options
+description: List of available compiler options
 permalink: /compiler/compiler-options
 ---
 
@@ -24,15 +24,15 @@ permalink: /compiler/compiler-options
 
 List of Available Compiler Options
 
-Page Contents:
+## Contents
 
 * [html-output-filename](compiler/compiler-options.html#html-output-filename)
 * [html-template](compiler/compiler-options.html#html-template)
 * [js-define](compiler/compiler-options.html#js-define)
 
-Royale provide the following list of compiler options
+Royale provides these options for its compiler:
 
-## JavaScript Compiler Options
+## JavaScript compiler options
 
 ### html-output-filename {#html-output-filename}
 
@@ -74,7 +74,7 @@ Specifies one or more custom compiler options to pass to the Google Closure Comp
 
 Defaults to true. Enables or disables initialization of primitive (Number, Boolean, etc.) variables with default values in the generated JavaScript. Corresponds to AVM runtime implicit type intialization values.
 
-Note that some reflection utility functions require this to be true in order for them to work correctly in javascript.  
+Note that some reflection utility functions require this to be set to true in order for them to work correctly in JavaScript.  
 
 ```sh
 -compiler.js-default-initializers
@@ -94,7 +94,7 @@ Defines a global constant at compile time for the JavaScript output. May be a bo
 -compiler.js-define CONFIG::debugging true -compiler.js-define CONFIG::release false
 ```
 
-For boolean and numeric values, you may pass in literals like true, false, or 123. String values must be formatted with nested quotes, like "'hello'", because the compiler will attempt to evaluate an expression when it encounters quotes.
+For Boolean and numeric values, you may pass in literals like true, false, or 123. Format string values with nested quotes, like "'hello'", because the compiler will attempt to evaluate an expression when it encounters a quotation mark.
 
 #### Maven configuration:
 
@@ -133,7 +133,7 @@ Specifies the locations of XML configuration files that define extra compiler op
 
 ### js-output
 
-The path where the generated JavaScript output should be saved, if output is also being used for the .swf output path.
+The path where the generated JavaScript output should be saved, if your are also using it for the .swf output path.
 
 ```sh
 -compiler.js-output path/to/output
@@ -159,7 +159,7 @@ Tells the Apache Royale compiler to remove circular dependencies in the generate
 
 ### source-map
 
-Emits source maps in the debug build for each ActionScript file. The default value is false.
+Emits a source map in the debug build for each ActionScript file. The default value is false.
 
 ```sh
 -compiler.source-map
@@ -173,13 +173,13 @@ Emits source maps in the debug build for each ActionScript file. The default val
 
 ### targets
 
-Specifies the target format of the code generated by the Apache Royale compiler. Multiple targets may be specified.
+Specifies the target format of the code generated by the Apache Royale compiler. You can specify multiple targets.
 
 ```sh
 -compiler.targets JSRoyale,SWF
 ```
 
-The following values for "targets" are supported:
+The compiler supports the following values for "targets":
 
 - "JSRoyale"
 - "JS"
@@ -209,7 +209,7 @@ Enables or disables warnings about using public variables.
 
 ### show-binding-warnings
 
-Set to false to remove all binding warnings
+Set to false to remove all binding warnings.
 
 ```sh
 -compiler.show-binding-warnings=false
@@ -219,4 +219,4 @@ Set to false to remove all binding warnings
 
 ```xml
 <additionalCompilerOptions>-show-binding-warnings=false;</additionalCompilerOptions>
-```
\ No newline at end of file
+```