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>
<p>
Classes can be anonymous or named, the latter being more useful for debugging.
Since classes may be anonymous, constructors are styled after PHP:
Classes can be
<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>
<pre class="js">
<!--%inc scripts/ex/class-anon.js -->
@ -51,13 +55,14 @@
<p>
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>
<pre class="js">
var inst = Foo( "John Doe" );
var inst = new Foo( "John Doe" );
// temporary class
// temporary instance
Foo( "John Doe" ).sayHello();
</pre>
<a href="manual/Defining-Classes.html">&rarr; Read more in manual</a>
@ -152,8 +157,8 @@
</h3>
<p>
All three common access modifiers &mdash; public, protected and private
&mdash; are supported, but enforced only in ECMAScript 5 and later
environments.
&mdash; are supported, but <a href="manual/Pre_002dES5-Fallback.html"
class="man">enforced only in ECMAScript 5 and later</a> environments.
</p>
<pre class="js">
<!--%inc scripts/ex/access-modifiers.js -->
@ -178,7 +183,8 @@
Static members are bound to the class itself, rather than a particular
instance. Constants are immutable static members (unlike languages like PHP,
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>.
</p>
<pre class="js">

View File

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