1
0
Fork 0

Added additional manual links to About page

website
Mike Gerwitz 2012-05-06 23:43:54 -04:00
parent b005bbce1a
commit c3c769060c
No known key found for this signature in database
GPG Key ID: F22BB8158EE30EAB
2 changed files with 18 additions and 7 deletions

View File

@ -42,8 +42,12 @@
</pre> </pre>
<p> <p>
Classes can be anonymous or named, the latter being more useful for debugging. Classes can be
Since classes may be anonymous, constructors are styled after PHP: <a href="manual/Anonymous-vs_002e-Named-Classes.html" class="man">anonymous or
named</a>, the latter being more useful for debugging. Since classes may be
anonymous, constructors are <a
href="manual/Constructor-Implementation.html" class="man">styled after
PHP</a>.
</p> </p>
<pre class="js"> <pre class="js">
<!--%inc scripts/ex/class-anon.js --> <!--%inc scripts/ex/class-anon.js -->
@ -51,13 +55,14 @@
<p> <p>
Classes can be instantiated with or without the <tt>new</tt> keyword. Omission Classes can be instantiated with or without the <tt>new</tt> keyword. Omission
aids in concise method chaining and the use of temporary classes. aids in concise method chaining and the use of
<a href="manual/Temporary-Instances.html" class="man">temporary instances</a>.
</p> </p>
<pre class="js"> <pre class="js">
var inst = Foo( "John Doe" ); var inst = Foo( "John Doe" );
var inst = new Foo( "John Doe" ); var inst = new Foo( "John Doe" );
// temporary class // temporary instance
Foo( "John Doe" ).sayHello(); Foo( "John Doe" ).sayHello();
</pre> </pre>
<a href="manual/Defining-Classes.html">&rarr; Read more in manual</a> <a href="manual/Defining-Classes.html">&rarr; Read more in manual</a>
@ -152,8 +157,8 @@
</h3> </h3>
<p> <p>
All three common access modifiers &mdash; public, protected and private All three common access modifiers &mdash; public, protected and private
&mdash; are supported, but enforced only in ECMAScript 5 and later &mdash; are supported, but <a href="manual/Pre_002dES5-Fallback.html"
environments. class="man">enforced only in ECMAScript 5 and later</a> environments.
</p> </p>
<pre class="js"> <pre class="js">
<!--%inc scripts/ex/access-modifiers.js --> <!--%inc scripts/ex/access-modifiers.js -->
@ -178,7 +183,8 @@
Static members are bound to the class itself, rather than a particular Static members are bound to the class itself, rather than a particular
instance. Constants are immutable static members (unlike languages like PHP, instance. Constants are immutable static members (unlike languages like PHP,
they may use any access modifier). In order to support both they may use any access modifier). In order to support both
pre- and post-ECMAScript 5 environments, the syntax requires use of a static <a href="manual/Static-Implementation.html" class="man">pre- and
post-ECMAScript 5 environments</a>, the syntax requires use of a static
accessor method &mdash; <tt>$()</tt>. accessor method &mdash; <tt>$()</tt>.
</p> </p>
<pre class="js"> <pre class="js">

View File

@ -248,6 +248,11 @@ span.shell-start {
clear: both; clear: both;
} }
a.man:before {
/* &rarr;&nbsp; */
content: '\2192\00a0';
}
/** download **/ /** download **/
span.release-current { span.release-current {