This is an automated email from the ASF dual-hosted git repository.
joshtynjala 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 7df9ae8 more link tweaks
7df9ae8 is described below
commit 7df9ae80d6876c58744d3758c9ac69333dab76b9
Author: Josh Tynjala <[email protected]>
AuthorDate: Thu Apr 25 14:35:21 2019 -0700
more link tweaks
---
Welcome/Features/AS3.md | 6 +++---
Welcome/Features/actionscript/abstract-classes.md | 6 +++---
Welcome/Features/actionscript/private-constructors.md | 6 +++---
3 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/Welcome/Features/AS3.md b/Welcome/Features/AS3.md
index ce1bea3..3b1293c 100644
--- a/Welcome/Features/AS3.md
+++ b/Welcome/Features/AS3.md
@@ -20,7 +20,7 @@ title: ActionScript 3 (AS3)
# ActionScript 3 (AS3)
-ActionScript 3 is an object-oriented programming language originally created
by Macromedia Inc., which continued to evolve after being acquired by Adobe
Systems. It is a superset of the ECMAScript standard (more widely known as
JavaScript) with a stronger focus on classes, interfaces, and objects. While
originally designed for Adobe Flash Player, ActionScript 3 may be used by
developers today to build plugin-free, cross-platform, web applications with
[Apache Royale](..).
+ActionScript 3 is an object-oriented programming language originally created
by Macromedia Inc., which continued to evolve after being acquired by Adobe
Systems. It is a superset of the ECMAScript standard (more widely known as
JavaScript) with a stronger focus on classes, interfaces, and objects. While
originally designed for Adobe Flash Player, ActionScript 3 may be used by
developers today to build plugin-free, cross-platform, web applications with
[Apache Royale](http://royale.apache [...]
The following code snippet shows some of ActionScript's core syntax:
@@ -53,8 +53,8 @@ The Royale compiler extends the ActionScript language with
useful, new features.
The following new ActionScript features are available with the Royale compiler:
-* [Abstract Classes](abstract-classes.html)
-* [Private Constructors](private-constructors.html)
+* [Abstract Classes](Welcome/Features/actionscript/abstract-classes.html)
+* [Private
Constructors](Welcome/Features/actionscript/private-constructors.html)
### Limitations of ActionScript language extensions
diff --git a/Welcome/Features/actionscript/abstract-classes.md
b/Welcome/Features/actionscript/abstract-classes.md
index 4aef952..bfea269 100644
--- a/Welcome/Features/actionscript/abstract-classes.md
+++ b/Welcome/Features/actionscript/abstract-classes.md
@@ -19,11 +19,11 @@ title: Abstract classes in ActionScript
---
# Abstract classes in ActionScript
-[Apache Royale](../..) adds support for declaring `abstract` classes in
[ActionScript](../AS3.html). An abstract class cannot be instantiated using the
`new` keyword, meaning that it must be subclassed. Additionally, an abstract
class may declare `abstract` methods that do not have a function body. Abstract
methods must be implemented by the concrete subclass, similar to how the
methods of an interface must also be implemented.
+[Apache Royale](https://royale.apache.org/){:target='_blank'} adds support for
declaring `abstract` classes in [ActionScript](Welcome/Features/AS3.html). An
abstract class cannot be instantiated using the `new` keyword, meaning that it
must be subclassed. Additionally, an abstract class may declare `abstract`
methods that do not have a function body. Abstract methods must be implemented
by the concrete subclass, similar to how the methods of an interface must also
be implemented.
## Enable abstract classes
-Like other [new ActionScript language
features](../AS3.html#new-actionscript-language-features-in-royale) that Royale
adds, abstract classes are optional and disabled by default. To enable abstract
classes in your application, use the `-allow-abstract-classes` compiler option.
+Like other [new ActionScript language
features](Welcome/Features/AS3.html#new-actionscript-language-features-in-royale)
that Royale adds, abstract classes are optional and disabled by default. To
enable abstract classes in your application, use the `-allow-abstract-classes`
compiler option.
```sh
mxmlc -allow-abstract-classes MyApp.mxml
@@ -112,4 +112,4 @@ Checking whether a class is abstract happens at
compile-time only. However, by u
If a SWC library contains classes with abstract classes, applications using
that library must also enable abstract classes before the compiler will enforce
any restrictions.
-Other ActionScript compilers, such as the one in the [Apache Flex
SDK](https://flex.apache.org/){:target='_blank'}, may not recognize or enforce
private constructors. Attemping to pass source code or SWC libraries that
contain classes with private constructors to another compiler may result in
compile-time errors or unexpected behavior at run-time. In other words, to
write 100% portable ActionScript code that works with any compiler, you should
avoid using private constructors and any of [...]
\ No newline at end of file
+Other ActionScript compilers, such as the one in the [Apache Flex
SDK](https://flex.apache.org/){:target='_blank'}, may not recognize or enforce
private constructors. Attemping to pass source code or SWC libraries that
contain classes with private constructors to another compiler may result in
compile-time errors or unexpected behavior at run-time. In other words, to
write 100% portable ActionScript code that works with any compiler, you should
avoid using private constructors and any of [...]
\ No newline at end of file
diff --git a/Welcome/Features/actionscript/private-constructors.md
b/Welcome/Features/actionscript/private-constructors.md
index 0a0cf08..dbe5875 100644
--- a/Welcome/Features/actionscript/private-constructors.md
+++ b/Welcome/Features/actionscript/private-constructors.md
@@ -19,11 +19,11 @@ title: Private constructors in ActionScript
---
# Private constructors in ActionScript
-[Apache Royale](../..) adds support for declaring the constructor of a class
`private` instead of `public` in [ActionScript](../AS3.html). When a
constructor is private, it cannot be instantiated with the `new` keyword
outside of the class where it is defined. Private constructors are commonly
used for implementing the *singleton* design pattern, which is when only one
instance of a particular class should ever be created.
+[Apache Royale](https://royale.apache.org/){:target='_blank'} adds support for
declaring the constructor of a class `private` instead of `public` in
[ActionScript](Welcome/Features/AS3.html). When a constructor is private, it
cannot be instantiated with the `new` keyword outside of the class where it is
defined. Private constructors are commonly used for implementing the
*singleton* design pattern, which is when only one instance of a particular
class should ever be created.
## Enable private constructors
-Like other [new ActionScript language
features](../AS3.html#new-actionscript-language-features-in-royale) that Royale
adds, private constructors are optional and disabled by default. To enable
private constructors in your application, use the `-allow-private-constructors`
compiler option.
+Like other [new ActionScript language
features](Welcome/Features/AS3.html#new-actionscript-language-features-in-royale)
that Royale adds, private constructors are optional and disabled by default.
To enable private constructors in your application, use the
`-allow-private-constructors` compiler option.
```sh
mxmlc -allow-private-constructors MyApp.mxml
@@ -98,4 +98,4 @@ Checking whether a constructor is private or not happens at
compile-time only. H
If a SWC library contains classes with private constructors, applications
using that library must also enable private constructors before the compiler
will enforce any restrictions.
-Other ActionScript compilers, such as the one in the [Apache Flex
SDK](https://flex.apache.org/){:target='_blank'}, may not recognize or enforce
private constructors. Attemping to pass source code or SWC libraries that
contain classes with private constructors to another compiler may result in
compile-time errors or unexpected behavior at run-time. In other words, to
write 100% portable ActionScript code that works with any compiler, you should
avoid using private constructors and any of [...]
\ No newline at end of file
+Other ActionScript compilers, such as the one in the [Apache Flex
SDK](https://flex.apache.org/){:target='_blank'}, may not recognize or enforce
private constructors. Attemping to pass source code or SWC libraries that
contain classes with private constructors to another compiler may result in
compile-time errors or unexpected behavior at run-time. In other words, to
write 100% portable ActionScript code that works with any compiler, you should
avoid using private constructors and any of [...]
\ No newline at end of file