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 1100e58 tweaks to links
1100e58 is described below
commit 1100e580ffc3913617f8a094ea3962e23c679e89
Author: Josh Tynjala <[email protected]>
AuthorDate: Thu Apr 25 14:30:41 2019 -0700
tweaks to links
---
Welcome/Features/actionscript/abstract-classes.md | 4 ++--
Welcome/Features/actionscript/private-constructors.md | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/Welcome/Features/actionscript/abstract-classes.md
b/Welcome/Features/actionscript/abstract-classes.md
index 62a2905..4aef952 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. 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](../..) 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.
## Enable abstract classes
-Like other [new ActionScript language features](new-language-features.html)
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](../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
diff --git a/Welcome/Features/actionscript/private-constructors.md
b/Welcome/Features/actionscript/private-constructors.md
index 1248054..0a0cf08 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`. 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](../..) 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.
## Enable private constructors
-Like other [new ActionScript language features](new-language-features.html)
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](../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