This is an automated email from the ASF dual-hosted git repository.
carlosrovira 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 2a1fd44 add line for subtitle
2a1fd44 is described below
commit 2a1fd44290e52ed9d182847ff8c405356a56577e
Author: Carlos Rovira <[email protected]>
AuthorDate: Tue May 28 16:21:04 2019 +0200
add line for subtitle
---
welcome/features/actionscript/abstract-classes.md | 4 ++++
welcome/features/actionscript/private-constructors.md | 4 ++++
2 files changed, 8 insertions(+)
diff --git a/welcome/features/actionscript/abstract-classes.md
b/welcome/features/actionscript/abstract-classes.md
index cc650b8..51b7e5f 100644
--- a/welcome/features/actionscript/abstract-classes.md
+++ b/welcome/features/actionscript/abstract-classes.md
@@ -16,9 +16,13 @@
layout: docpage
title: Abstract classes in ActionScript
+
---
+
# Abstract classes in ActionScript
+-allow-abstract-classes
+
[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
diff --git a/welcome/features/actionscript/private-constructors.md
b/welcome/features/actionscript/private-constructors.md
index f971f68..b6dd781 100644
--- a/welcome/features/actionscript/private-constructors.md
+++ b/welcome/features/actionscript/private-constructors.md
@@ -16,9 +16,13 @@
layout: docpage
title: Private constructors in ActionScript
+
---
+
# Private constructors in ActionScript
+-allow-private-constructors
+
[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