From 9c86b0bddfbb1efb7a6ebdb5cd589b2f98ae359f Mon Sep 17 00:00:00 2001 From: Mike Gerwitz Date: Fri, 15 Jul 2016 12:35:28 -0400 Subject: [PATCH] Re-order index page sections * index.html: Moved 'Traits as Mixins', and 'Access Modifiers' --- index.html | 122 ++++++++++++++++++++++++++--------------------------- 1 file changed, 61 insertions(+), 61 deletions(-) diff --git a/index.html b/index.html index cd1050f..d2fe939 100644 --- a/index.html +++ b/index.html @@ -19,15 +19,15 @@ @@ -126,6 +126,64 @@ +

+ Traits As Mixins + +

+

+ Trait support was introduced in celebration of becoming a GNU + project. It is currently under development and has not yet been + finalized, but has been included in each GNU ease.js release since v0.2.0, + and is stable. +

+

+ Documentation will be available once some final details are + finalized. Until that time, + the test + cases provide extensive examples and rationale. The following posts + also summarize some of the features: + +

+

+ + + +

+ Access Modifiers + +

+

+ All three common access modifiers—public, protected and + private—are supported, but enforced only in ECMAScript 5 and later environments. +

+
+  
+
+

+ In the above example, the database connection remains encapsulated within + DatabaseRecord. Subtypes are able to query and escape strings and + external callers are able to retrieve a name for a given id. Attempting to + access a private or protected member externally will result in an error. + Attempting to access a private member from within a subtype will result in an + error. +

+

+ Alternatively, a more concise style may be used, which is more natural to + users of JavaScript's native prototype model: +

+
+  
+
+→ Read more in manual + + +

Abstract Classes and Methods @@ -176,37 +234,6 @@ -

- Access Modifiers - -

-

- All three common access modifiers—public, protected and - private—are supported, but enforced only in ECMAScript 5 and later environments. -

-
-  
-
-

- In the above example, the database connection remains encapsulated within - DatabaseRecord. Subtypes are able to query and escape strings and - external callers are able to retrieve a name for a given id. Attempting to - access a private or protected member externally will result in an error. - Attempting to access a private member from within a subtype will result in an - error. -

-

- Alternatively, a more concise style may be used, which is more natural to - users of JavaScript's native prototype model: -

-
-  
-
-→ Read more in manual - - -

Static and Constant Members @@ -226,33 +253,6 @@ -

- Traits As Mixins - -

-

- Trait support was introduced in celebration of becoming a GNU - project. It is currently under development and has not yet been - finalized, but has been included in each GNU ease.js release since v0.2.0, - and is stable. -

-

- Documentation will be available once some final details are - finalized. Until that time, - the test - cases provide extensive examples and rationale. The following posts - also summarize some of the features: - -

-

- - -