From c3c769060c59a18b33188322630d0c8f2c6dbfe0 Mon Sep 17 00:00:00 2001
From: Mike Gerwitz
- 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
+ anonymous or
+ named, the latter being more useful for debugging. Since classes may be
+ anonymous, constructors are styled after
+ PHP.
Classes can be instantiated with or without the new keyword. Omission
- aids in concise method chaining and the use of temporary classes.
+ aids in concise method chaining and the use of
+ temporary instances.
All three common access modifiers — public, protected and private
- — are supported, but enforced only in ECMAScript 5 and later
- environments.
+ — are supported, but enforced only in ECMAScript 5 and later environments.
@@ -51,13 +55,14 @@
var inst = Foo( "John Doe" );
var inst = new Foo( "John Doe" );
- // temporary class
+ // temporary instance
Foo( "John Doe" ).sayHello();
→ Read more in manual
@@ -152,8 +157,8 @@
@@ -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
+ pre- and
+ post-ECMAScript 5 environments, the syntax requires use of a static
accessor method — $().
diff --git a/style.css b/style.css index 57b93d9..5e04868 100644 --- a/style.css +++ b/style.css @@ -248,6 +248,11 @@ span.shell-start { clear: both; } +a.man:before { + /* → */ + content: '\2192\00a0'; +} + /** download **/ span.release-current {